getfslimit Kernel Service

Purpose

Returns the maximum file size limit of the current process.

Syntax

#include <sys/types.h> offset_t getfslimit (void)

Description

The getfslimit kernel service returns the file size limit of the current process as a 64 bit integer. This can be used by file systems to implement the checks needed to enforce limits. The getfslimit kernel service is called from the process environment.

Return Values

The getfslimit kernel service returns the the file size limit, there are no error values.