[ Previous | Next | Contents | Home | Search ]
AIX Version 4.3 Kernel and Subsystems Technical Reference, Volume 1

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.

Implementation Specifics

The getfslimit kernel service is part of the Base Operating System (BOS) Runtime.

Related Information

The ulimit subroutine, getrlimit subroutine, setrlimit subroutine.

The ulimit command.


[ Previous | Next | Contents | Home | Search ]