Returns the maximum file size limit of the current process.
#include <sys/types.h> offset_t getfslimit (void)
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.
The getfslimit kernel service returns the the file size limit, there are no error values.