02.07.2013 Views

A/UX® Programmer's Reference

A/UX® Programmer's Reference

A/UX® Programmer's Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Section 2: System Calls<br />

Table of Contents<br />

intro(2) .......................... introduction to system calls and error numbers<br />

accept(2N) ........................................ accept a connection on a socket<br />

access(2) .......................................... determine accessibility of a file<br />

acct(2) ....................................... enable or disable process accounting<br />

adjtime(2) .................................................. correct the system time<br />

alarm(2) ................................................. set a process's alarm clock<br />

async _ daemon(2) .................................................. see nfssvc(2)<br />

bind(2N) ..................................................... bind a name to a socket<br />

brk(2) ........................................ change data segment space allocation<br />

chdir(2) ................................................... change working directory<br />

chmod(2) ., .............................. , ......................... change mode of file<br />

chown(2) .......................................... change owner and group of a file<br />

chroot(2) ...................................................... change root directory<br />

close(2) ........................................................ close a file descriptor<br />

connect(2N) ..................................... initiate a connection on a socket<br />

crea t(2) .............................. create a new file or rewrite an existing one<br />

dup(2) ........................................................... duplicate a descriptor<br />

exec(2) ................................................................... execute a file<br />

execl(2) .................................................................. see exec(2)<br />

execle(2) ................................................................. see exec(2)<br />

execlp(2) .................... " ........................................... see exec(2)<br />

execv(2) .................................................................. see exec(2)<br />

execve(2) ................................................................. see exec(2)<br />

execvp(2) ................................................................. see exec(2)<br />

exi t(2) .............................................................. terminate process<br />

fchown(2) ............................................................... see chown(2)<br />

fcntl(2) .................................................................... file control<br />

flock(2) ....................... apply or remove an advisory lock on an open file<br />

fork(2) ........................................................... create a new process<br />

fsmount(2) .................................... mount a network file system (NFS)<br />

fstat(2) .................................................................. see stat(2)<br />

fsync(2) ...................... synchronize a file's in-core state with that on disk<br />

ftruncate(2) .................................................... see truncate(2)<br />

getcompat(2) .................................................. see setcompat(2)<br />

getdirentries(2) ........................................... get directory entries<br />

getdomainname(2N) ................. get/set name of current network domain<br />

getdtablesize(2N) ..................................... get descriptor table size<br />

Section 2<br />

Revision C

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!