This section alphabetically lists the POSIX interfaces (with a few nonstandard additions) for directory and file I/O. It describes their purpose, syntax, parameters, and return values. These functions come from the following header files:
unistd.h file.
The functions in this file are the standard POSIX functions, which enable you to perform the standard input/output operations for files and directories. The file also contains nonstandard additions and transitional additions for 64-bit file I/0. A few functions such as alarm, cancel, delay, and _exit, which don't manipulate files or directories, are documented with the General C Services
in Volume 2.
dirent.h file. The functions in this file allow you to list the contents of a directory and include functions to open a directory for reading, to read the entries in a directory, and to close the directory.
fcntl.h file. The functions in this file allow you to create a file, open an existing file, and perform commands on the file such as setting and releasing locks and setting and getting open mode flags.
fnmatch.h file. The function in this file is from the Single UNIX Specification and provides file and path matching with wildcards.
fsio.h file. The functions in this file are nonstandard or Novell® additions that help with managing the differences between NetWare full paths and POSIX paths and between an NKS path context and a POSIX current working directory. They also allow you to get selective NetWare file system statistics, purge files, and salvage files.
libgen.h. The functions in this file contains some Single UNIX Specification functions for parsing path names.
proc.h file. The functions in this file are Novell additions that spawn processes in a manner similar to the fork function immediately followed by a call to the exec function.
stdio.h. The few POSIX functions, such as fdopen and popen, are documented in this section. The ANSI functions are documented in ANSI File and Directory Functions.
sys/stat.h file. The functions in this file enable you to manage access permissions, to manage NetWare® file and directory attributes, to obtain meta entry data such as when a file was last modified or accessed, and to create directories and FIFOs.
untime.h. The POSIX function and structure in this file allow you to set a file's access and modification time.
This section describes the following functions: