*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages              
Title
Content
Arch
Section
 
 standard/exec(2) -- execute a file
    exec in all its forms overlays a new process image on an old process. The new process image is constructed from an ordinary, executable file. This file is either an executable object file, or a file of data for an interpreter. There can be no return from a successful exec because the calling process image is overlaid by the new process image. An interpreter file begins with a line of the form #! pathname [arg] where pathname is the path of the interpreter, and arg i...
 standard/exit(2) -- terminate process
    The C library routine exit, which is discussed at the end of this section, invokes the system routine _exit upon completion of its own cleanup chores. _exit terminates the calling process with the following consequences: All of the file descriptors, directory streams and message catalogue descriptors open in the calling process are closed. If the process is sharing file descriptors via an sproc, other members of the share group do NOT have their...
 standard/fcntl(2) -- file and descriptor control
    fcntl provides for control over open descriptors. fildes is an open descriptor obtained from a creat, open, dup, fcntl, pipe, socket, or socketpair system call. The commands available are: F_DUPFD Return a new descriptor as follows: Lowest numbered available descriptor greater than or equal to the third argument, arg, taken as an object of type int. Refers to the same object as the original descriptor. Same file pointer as the original file (i.e., both file descriptors share one file pointer). S...
 standard/fdes_to_devname(2) -- determine the device name for the device
    fdes_to_devname is useful to determine the canonical hardware graph path name given the a device file descriptor. Note that this file descriptor can correspond to any of the different alias names for the device.
 standard/fdes_to_drivername(2) -- determine the driver name for the device
    fdes_to_drivername is useful to determine the name of the driver handling the device corresponding to the special file descriptor. Note that this file descriptor can correspond to any of the different alias names for the device.
 standard/filename_to_devname(2) -- determine the device name for the device file
    filename_to_devname is useful to determine the canonical hardware graph path name given the filename for the device. Note that there can multiple alias names for a device vertex in the hardware graph and the canonical name is unique.
 standard/filename_to_drivername(2) -- determine the device name for the device file
    filename_to_drivername is useful to determine the name of the driver handling the device with the given special filename. Note that there can multiple alias names for a device vertex in the hardware graph.
 standard/fork(2) -- create a new process
    fork causes creation of a new process. The new process (child process) is an exact copy of the calling process (parent process). This means the child process inherits the following attributes from the parent process: real user ID, real group ID, effective user ID, effective group ID environment close-on-exec flag [see exec(2)] signal handling settings (i.e., SIG_DFL, SIG_IGN, SIG_HOLD, function address) supplementar...
 standard/fpathconf(2) -- get configurable pathname variables
    The functions fpathconf and pathconf return the current value of a configurable limit or option associated with a file or directory. The path argument points to the pathname of a file or directory; fildes is an open file descriptor; and name is the symbolic constant (defined in <sys/unistd.h>) representing the configurable system limit or option to be returned. The values returned by pathc...
 standard/fsync(2) -- synchronize a file's in-memory state with that on the physical medium
    fsync moves all modified data and attributes of fildes to a storage device. When fsync returns, all in-memory modified copies of buffers associated with fildes have been written to the physical medium. fsync is different from sync, which schedules disk I/O for all files but returns before the I/O completes. fsync should be used by programs that require that a file be in a known state. For example, a program that contains a s...
 standard/getash(2) -- get array session handle
    The getash function returns the array session handle (ASH) for the array session that contains the calling process. The handle for an array session is normally assigned by the system when the array session is first created. This can be overridden using the privileged setash(2) function. For details, see the man pages for setash(2).
 standard/getcontext(2) -- get and set current user context
    These functions, along with those defined in makecontext(3C), are useful for implementing user level context switching between multiple threads of control within a process. getcontext initializes the structure pointed to by ucp to the current user context of the calling process. The user context is defined by ucontext(5) and includes the contents of the calling process's machine registers, signal mask and exe...
 standard/getdents(2) -- read directory entries and put in a file system independent format
    fildes is a file descriptor obtained from a creat, open, dup, fcntl, pipe, or ioctl system call. getdents attempts to read nbyte bytes from the directory associated with fildes and to format them as file system independent directory entries in the buffer pointed to by buf. Since the file system independent directory entries are of variable length, in most cases the actual number of bytes returne...
 standard/getdomainname(2) -- get/set name of current NIS domain
    Getdomainname returns the name of the NIS domain for the current host, as previously set by setdomainname. The parameter namelen specifies the size of the name array. The returned name is null-terminated unless insufficient space is provided. Setdomainname sets the NIS domain of the host to be name, which has length namelen. This call is restricted to the superuser and is normally used only during system initialization. The purpose of NIS domains is to enable two distinct networks that may have ...
 standard/getdtablesize(2) -- get file descriptor table size
    getdtablesize returns the maximum number of file descriptors that the calling process can open. The related getdtablehi(3C) function returns the value of the largest open file descriptor, plus one. The description of {OPEN_MAX} in intro(2) provides more information about how file descriptors are allocated and the various limits imposed on their use.
<<  [Prev]  1  2  3  4  5  6  7  8  9  10  11  12  13  [Next]  >>
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service