File management
“basename - return last element of pathname”
“chdir - change working directory”
“chmod, fchmodat - change mode of file”
“chown, fchownat - change owner and group of file”
“chroot - change root directory”
“clearerr - clear end-of-file and error indicators”
“creat, creat64 - create new file or overwrite existing one”
“dirfd - extract file descriptor”
“dirname - parent directory of pathname”
“fchdir - change current directory”
“fchmod - change mode of file”
“fchown - change owner or group of file”
“FD_CLR, FD_ISSET, FD_SET, FD_ZERO - macros for synchronous I/O multiplexing”
"fnmatch - match a filename string or a pathname"
“fstatvfs, fstatvfs64, statvfs, statvfs64 - read file system information”
“ftw, ftw64, ftwx, ftw64x - traverse (walk) file tree”
“fwide - specify file orientation”
“getcwd - get pathname of current working directory”
“getdtablesize - get size of descriptor table”
“getwd - get pathname of current working directory”
"glob, globfree - generate pathnames matching a pattern"
“lchown - change owner/group of file”
“lstat, lstat64, lstatx, lstat64x - query file status”
“link, linkat - create link to file”
“mkdir, mkdirat - make directory”
“mknod, mknodat - make directory, special file, or text file”
“mkstemp - make unique temporary file name”
“mktemp - make unique temporary file name (extension)”
“nftw, nftw64, nftwx, nftw64x - traverse file tree”
“opendir, fdopendir - open directory”
“readlink, readlinkat - read contents of symbolic link”
“rename, renameat - rename file”
“rewinddir - reset file position indicator to start of directory stream”
“seekdir - set position of directory stream”
“stat, stat64, statx, stat64x - get file status”
“statvfs, statfs64 - read file system information”
“symlink, symlinkat - make symbolic link to file”
“telldir - get current location of named directory stream”
“tempnam - create pathname for temporary file”
“tmpfile - create temporary file”
“tmpnam - create base name for temporary file”
“umask - get and set file mode creation mask”
“unlink, unlinkat - remove link”
“utime, utime64 - set file access and modification times”
File access
“access, faccessat - check access permissions for file”
“bs2fstat - get BS2000 file names from catalog(BS2000)” on page 228
“dup, dup2 - duplicate file descriptor”
“faccessat - check access permissions for file” (see access on "access, faccessat - check access permissions for file")
“fattach - assign file descriptor under STREAMS to object in name space of file system”
“fchmodat - change mode of file” (see chmod on "chmod, fchmodat - change mode of file")
“fchownat - change owner and group of file” (see chown on "chown, fchownat - change owner and group of file")
“fdelrec - delete record in ISAM file(BS2000)” on page 341
“fdetach - cancel assignment to STREAMS file”
“fdopen - associate stream with file descriptor”
“fdopendir - open directory” (see opendir on "opendir, fdopendir - open directory")
“feof - test end-of-file indicator on stream”
“ferror - test error indicator on stream”
“fgetpos, fgetpos64 - get current value of file position indicator in stream”
“fileno - get file descriptor”
“flocate - set file position indicator in ISAM file(BS2000)” on page 359
“fopen, fopen64 - open stream”
“freopen, freopen64 - flush and reopen stream”
“fseek, fseek64, fseeko, fseeko64 - reposition file position indicator in stream”
“fsetpos, fsetpos64 - set file position indicator for stream to current value”
“fsync - synchronize changes to file”
“ftell, ftell64, ftello, ftello64 - get current value of file position indicator for stream”
“ftruncate, ftruncate64, truncate, truncate64 - set file to specified length”
“futimesat, futimesat64 - setting file access and update times”
“ioctl - control devices and STREAMS”
“lockf, lockf64 - lock file section”
“lseek, lseek64 - move read/write file offset”
“isastream - test file descriptor”
“open, open64, openat, openat64 - open file”
“rewind - reset file position indicator to start of stream”
“truncate, truncate64 - set file to specified length”
“select - synchronous I/O multiplexing”
“tell - get current value of file position indicator(BS2000)” on page 930
“utimes, utimes64 - set file access time and file modification time”
“utimensat, utimensat64 - Setting file access and update times”
64-bit functions to support NFS V3.0
"creat64 - create new file or overwrite existing file" see creat64 in chapter "creat, creat64 - create new file or overwrite existing one"
"fgetpos64 - get current value of the read/write pointer in the stream" see fgetpos64 in chapter "fgetpos, fgetpos64 - get current value of file position indicator in stream"
"fopen64 - open stream" see fopen64 in chapter "fopen, fopen64 - open stream"
"freopen64 - flush stream and open new stream" see freopen64 in chapter "freopen, freopen64 - flush and reopen stream"
"fseek64 - point read/write pointer in stream to current value" see fseek64 in chapter "fseek, fseek64, fseeko, fseeko64 - reposition file position indicator in stream"
"fsetpos64 - set position of read/write pointer in stream to current value" see fsetpos64 in chapter "fsetpo, fsetpos64 - set file position indicator for stream to current value"
"fstat64, fstatat64 - query status of an open file" see fstat64 in chapter "fstat, fstat64, fstatx, fstat64x, fstatat, fstatat64, fstatatx, fstatat64x - get file status of open file"
"fstatvfs64, statvfs64 - read file system information" see fstatvfs64, statvfs64 in chapter "fstatvfs, fstatvfs64, statvfs, statvfs64 - read file system information"
"ftell64 - get current value of read/write pointer in stream" see ftell64 in chapter "ftell, ftell64, ftello, ftello64 - get current value of file position indicator for stream"
"ftruncate64, truncate64 - set file length to specified value" see ftruncate64, truncate64 in chapter "ftruncate, ftruncate64, truncate, truncate64 - set file to specified length"
"ftw64 - traverse (walk) file tree" see ftw64 in chapter “ftw, ftw64, ftwx, ftw64x - traverse (walk) file tree”
"getdents64 - convert directory entries" see getdents64 in chapter "getdents, getdents64 - convert directory entries"
"getrlimit64, setrlimit64 - get or set limit value for a resource" see getrlimit64, setrlimit64 in chapter "getrlimit, getrlimit64, setrlimit, setrlimit64 - get or set limit for resource"
"lockf64 - lock file section" see lockf64 in chapter "lockf, lockf64 - lock file section"
"lseek64 - point read/write pointer to current value" see lseek64 in chapter "lseek, lseek64 - move read/write file offset"
"lstat64 - query file status" see lstat64 in chapter "lstat, lstat64, lstatx, lstat64x - query file status"
"mmap64 - map memory pages" see mmap64 in chapter "mmap, mmap64 - map memory pages"
"nftw64 - traverse file tree" see nftw64 in chapter “nftw, nftw64, nftwx, nftw64x - traverse file tree”
"open64 - open file" see open64 in chapter "open, open64, openat, openat64 - open file"
"readdir64 - read from directory" see readdir64 in chapter "readdir, readdir64 - read directory"
"setrlimit64 - set limit value for a resource" see setrlimit64 in chapter "setrlimit, setrlimit64 - set resource limit"
"stat64 - query file status" see stat64 in chapter "stat, stat64, statx, stat64x - get file status"
"statvfs64 - read file system information" see statvfs64 in chapter "statvfs, statvfs64 - read file system information"
Functions with 64-bit time stamps
These functions are only supported from CRTE version V11.1A30 onwards and require a POSIX-BC correction status >= A47.
"fstatx, fstat64x, fstatatx, fstatat64x - query status of an open file" see fstatx, fstat64x, fstatatx, fstatat64x in chapter "fstat, fstat64, fstatx, fstat64x, fstatat, fstatat64, fstatatx, fstatat64x - get file status of open file"
"ftwx, ftw64x - traverse (walk) file tree" see ftwx, ftw64x in chapter “ftw, ftw64, ftwx, ftw64x - traverse (walk) file tree”
“futimesat64 - setting file access and update times” see futimesat64 in chapter “futimesat, futimesat64 - setting file access and update times”
"lstatx, lstat64x - query file status" see lstatx, lstat64x in chapter "lstat, lstat64, lstatx, lstat64x - query file status"
"nftwx, nftw64x - traverse file tree" see nftwx, nftw64x in chapter “nftw, nftw64, nftwx, nftw64x - traverse file tree”
“utime64 - set file access and modification times” see utime64 in chapter “utime, utime64 - set file access and modification times”
“utimes64 - set file access time and file modification time” see utimes64 in chapter “utimes, utimes64 - set file access time and file modification time”
“utimensat64 - Setting file access and update times” see utimensat64 in chapter “utimensat, utimensat64 - Setting file access and update times”