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

  man pages->IRIX man pages              
 standard/getspinfo(2) -- get service provider information
    The getspinfo function stores the service provider information for the array session containing the current process into the acct_spi struct pointed to by spi. The service provider information for an array session is normally inherited from the array session of the process that created it, or it can be changed with the privileged setspinfo(2) function. For more details on service provider information, see the man pages for setspinfo(2). getspinfo is provided primarily for compatibility with prev...
 standard/getuid(2) -- get real user, effective user, real group, and effective group IDs
    getuid returns the real user ID of the calling process. geteuid returns the effective user ID of the calling process. getgid returns the real group ID of the calling process. getegid returns the effective group ID of the calling process.
 standard/intro(2) -- introduction to system calls and error numbers
    This section describes all of the system calls. Most of these calls have one or more error returns. An error condition is indicated by an otherwise impossible returned value. This is almost always -1 or the NULL pointer; the individual descriptions specify the details. An error number is also made available in the external variable errno. errno is not cleared on successful calls, so it should be tested only after an error has been indicated. Many of these errors are caused by certain system or u...
 standard/ioctl(2) -- control device
    ioctl performs a variety of control functions on devices and STREAMS. For non-STREAMS files, the functions performed by this call are devicespecific control functions. request and an optional third argument with varying type are passed to the file designated by fildes and are interpreted by the device driver. For STREAMS files, specific functions are performed by the ioctl call as described in streamio(7). Argument types and other request-spe...
 standard/kill(2) -- send a signal to a process or a group of processes
    kill sends a signal to a process or a group of processes. The process or group of processes to which the signal is to be sent is specified by pid. The signal that is to be sent is specified by sig and is either one from the list given in signal(2), or 0. If sig is 0 (the null signal), error checking is performed but no signal is actually sent. This can be used to check the validity of pid. The real or effective user ID of the sending process must match the real, saved, or effective user ID of th...
 standard/link(2) -- link to a file
    path1 points to a path name naming an existing file. path2 points to a path name naming the new directory entry to be created. link creates a new link (directory entry) for the existing file and increments its link count by one. Upon successful completion, link marks for update the st_ctime field of the file. Also, the st_ctime and st_mtime fields of the directory that contains the new entry are marked for upd...
 standard/listen(2) -- listen for connections on a socket
    To accept connections, a socket is first created with socket(2), a willingness to accept incoming connections and a queue limit for incoming connections are specified with listen(2), and then each new connection is accepted with accept(2). The listen call applies only to sockets of type SOCK_STREAM. The backlog parameter defines the maximum length the queue of pending connections. If a connection request arrives with the queue full the client may receive an error with an indication of ECONNREFUS...
 standard/lseek(2) -- move read/write file pointer
    fildes is a file descriptor returned from a creat, open, dup, fcntl, pipe, or ioctl system call. lseek and lseek64 set the file pointer associated with fildes as follows: If whence is SEEK_SET, the pointer is set to offset bytes. If whence is SEEK_CUR, the pointer is set to its current location plus offset. If whence is SEEK_E<...
 standard/madvise(2) -- give advice about handling memory
    madvise provides the system advice about the process' expected use of its address space from addr to addr + len. The following types of behavior are currently recognized by the system: MADV_DONTNEED informs the system that the address range from addr to addr + len will likely not be referenced in the near future. The memory to which the indicated addresses are mapped will be the first to be reclaimed when memory is needed by the system. madvise will fail if: [ENOMEM] Addresses in the range (add...
 standard/memcntl(2) -- memory management control
    NOTE: this function is not currently implemented in IRIX. Any calls to this function will return ENOSYS. The function memcntl allows the calling process to apply a variety of control operations over the address space identified by the mappings established for the address range [addr, addr + len). addr must be a multiple of the pagesize as returned by sysconf(3C). The scope of the control operations can be further defined with additional selection criteri...
 standard/mkdir(2) -- make a directory
    mkdir creates a new directory with the name path. The mode of the new directory is initialized from mode (see chmod(2) for values of mode]. The protection part of mode is modified by the process's mode mask (see umask(2)). The S_ISGID, S_ISUID, and S_ISVTX bits are silently deleted from mode. The directory's owner ID is set to the process's effective user ID. The directory's group ID is set to the process's effective group ID or the grou...
 standard/mkfifo(2) -- make a FIFO special file
    The mkfifo routine creates a new FIFO special file named by the pathname pointed to by path. IRIX implements it via the following mknod call: mknod(path, (mode | S_IFIFO), 0) where S_IFIFO is defined in . Refer to mknod(2) for details.
 standard/mknod(2) -- make a directory, or a special or ordinary file
    mknod creates a new file named by the path name pointed to by path. The mode of the new file (including file type bits) is initialized from mode. The value of the file type bits which are permitted with this system call are those listed below. The other types listed in sys/stat.h are made with other system calls, or are not supported by this operating system. S_IFIFO fifo special S_IFCHR character special S_IFBLK block special S_IFREG ordinary file All other mode bits are interpreted as describe...
 standard/mmap(2) -- map pages of memory
    The functions mmap and mmap64 establish a mapping between a process's address space and a virtual memory object. The format of the call is as follows: pa = mmap(addr, len, prot, flags, fd, off); mmap establishes a mapping between the process's address space at an address pa for len bytes to the memory object represented by the file descriptor fd at offset off for len bytes. The value of pa is an implementation-depend...
 standard/mount(2) -- mount a file system
    mount requests that a removable file system contained on the block special file identified by spec be mounted on the directory identified by dir. spec and dir are pointers to path names. fstyp is the file system type number. The sysfs(2) system call can be used to determine the file system type number. If both the MS_DATA and MS_FSS flag bits of mflag are off, the file system type defaults to the root file system type. Only if either...
<<  [Prev]  1  2  3  4  5  6  7  8  9  10  11  12  13  [Next]  >>
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service