[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Kernel and Subsystems, 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.

Related Information

The ulimit subroutine, getrlimit subroutine, setrlimit subroutine.

The ulimit command.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]