AT&T UNIX™PC Unix System V Users Manual - tenox
AT&T UNIX™PC Unix System V Users Manual - tenox AT&T UNIX™PC Unix System V Users Manual - tenox
Table of Contents tee • . . • . • . • • • • • • . • . • • • pipe fitting test . . . . • • • • condition evaluation command time • • . • • . . • • . • . . . . • • . • • • time a command touch . • • • • update access and modification times of a file tr • • • . • . • . . • . • • • . • . • . • • translate characters true . • . • . . . . • . • . . • . . . . . • provide truth values tset • • . . . • • • • • . • . . . . • . • • . set terminal modes tsort • • . . . • • • . . • • • . . • . . • . . . topological sort tty • . . . • • . . • • . • . • . . • • . get the terminal's name uahelp • . • • . user agent help process uaupd • • . . • • . . . • . • . . . update user agent special files umask • . • • . . . . . . • • • • . • set file-creation mode mask umodem • . . . • remote file transfer program for ep /M terminals uname . print name of current UNIX system unget • undo a previous get of an sees file uniq • . . • report repeated lines in a file units . • . . • . • . . conversion program uucp . . . • • • • • • . . . . . . • . . • UNIX-to-UNIX copy uustat . uucp status inquiry and job control uuto • • • . . • . • . • . • • . . public UNIX-to-UNIX file copy uux • . . . . . . . • . . . . UNIX-to-UNIX command execution val • . . . • • • • • . . . • . • . . . • . . validate sees file vc . • vi • . • . . • • • . . . • . . . . • . . • . . . version control . screen oriented (visual) display editor based on ex wait • • . . . • . • • . • . • . . • • await completion of process we • . . . • • • • . . . . • . . • . . • . . . • • word count what • • identify sees files who • . . . . . . . . • • • . . who is on the system write xargs • . . . . . . • • . . • . write to another user • construct argument Iist(s) and execute command yacc . . . . . . . . . yet another compiler-compiler 2. System Calls intro . • . . . introduction to system calls and error numbers access . . . • • • • • • . • determine accessibility of a file acct . • . . . • . . . . • . . enable or disable process accounting alarm . . . . . . . . • . . . . • • • set a process's alarm clock brk • . • . • . . . . . . . . change data segment space allocation chdir . • . . • . . • • . . • • • • • • change working directory chmod • . • . . • . change mode of file chown . change owner and group of a file chroot . . • . . . change root directory close . . . . • . close a file descriptor creat . . . • • . . • • . create a new file or rewrite an existing one dup . . . • . • . . . . . . . . . duplicate an open file descriptor exec • . . execute a file exit • . . . . . . . . . . . . • . . . . terminate process - 4-
Table of Contents fcntl . . file control fork • . . . . . . . . . . . . . • create a new process getpid • get process, process group, and parent process IDs getuid • . • . . get real or effective user, real or effective group IDs ioctl . . . . . . . . . . . . . . . . . . . . . . . control device kill • . . . . • . . send a signal to a process or a group of processes link • . . . • • . . . • • . . • link to a file locking !seek . mknod mount msgctl msgget . . • • . • exclusive access to regions of a file . . • . . . . . . move read/write file pointer . make a directory, or a special or ordinary file . . . . . • . • . . . • • . . mount a file system . . . . . . • . . . • . message control operations . . . • . . . . . . . • . . . . . . • get message queue msgop . . . . • . . . • . . . . . . . . . . message operations nice • . change priority of a process open • . • . • . . . . • • . . . . . • open for reading or writing pause . . . . . suspend process until signal pipe . . . . . create an interprocess channel plock • lock process, text, or data in memory profil . • . . . . • • execution time profile ptrace . . . . . . . . process trace read . • . . . . . . . . . . • . . . . . . • . . • read from file semctl . • . . . . . . . . . . • • . semaphore control operations semget . . . . . . . . . . . . . . . • • . get set of semaphores semop . . • . • . . • . . . . . . . . . . semaphore operations setpgrp . . . . . . . set process group ID setuid • . . . . . . • . . . • . . • . . • set user and group IDs shmctl . . . . . • . . . . . . • shared memory control operations shmget . . . . . . . . . . . . . . . get shared memory segment shmop . . . . . . . . . . • . . . . . shared memory operations signal . specify what to do upon receipt of a signal stat . • . . . . . . . . . . . . . . . . . . . . . get file status stime . . . . • . . set time sync • update super-block syslocal • • local system calls time • . . . . . . get time times . • . • . . . . . . • . . get process and child process times ulimit . • . • get and set user limits umask • . . . set and get file creation mask umount . . . • . . unmount a file system uname • . get name of current UNIX system unlink • . . . . . . • . . . . . . . . . . remove directory entry ustat . . . . . . . . . . . . . . . . . . get file system statistics utime • . . . . . . . . . . . set file access and modification times wait • . . . . • . • • . wait for child process to stop or terminate write . . . . . . . . . . . . . . . . . . . . • . write on a file - 5 -
- Page 71 and 72: MM(1) 475-17 478 478-12 478-18 479
- Page 73 and 74: MM(S) MM(S) NAME mm - the mm macro
- Page 75 and 76: NDX{l) NDX( l) NAME ndx - create a
- Page 77 and 78: NEQN(l) NEQN(l) NAME neqn - format
- Page 79 and 80: NROFF(1) NROFF( 1) NAME nroff - tex
- Page 81 and 82: NROFF (l) NROFF( l) FILES /usrllib/
- Page 83 and 84: NTERM(S) NTERM(S) Em size of an em
- Page 85 and 86: PTX (l) PTX( l) NAME ptx - make per
- Page 87 and 88: SUBJ(l) SUBJ(l) NAME subj -generate
- Page 89 and 90: TBL(1) TBL( 1) Full details of all
- Page 91 and 92: XT(7) JAGENT XT(7) may return the e
- Page 93 and 94: XTS(lM} XTS(lM} NAME SYNOPSIS xts [
- Page 95 and 96: LOCKING ( 2 ) LOCKING ( 2 ) NAME lo
- Page 99 and 100: PREFACE The AT&T UNIX System V Us e
- Page 101 and 102: Preface ckeckall(lM) This command i
- Page 103 and 104: profiler(lM) pwck(lM) qasurvey(lM)
- Page 105 and 106: nc(7) nsc(7) phone(7) phonedvr(7) p
- Page 107 and 108: cpio(l) ct(l) ctrace(l) cu(l) diD(
- Page 109 and 110: ld(l) lint(l) ls(l) machid(l) mailx
- Page 111 and 112: spell( I) stlogin(l) ststat(l) time
- Page 113 and 114: atan(3f) atan2(3f) atoj(3c) bool(3f
- Page 115 and 116: mclock(3f) min(3f) menu(3t) message
- Page 117 and 118: x25hlnk(3c) x25£pvc(3c) Section 4:
- Page 119 and 120: TABLE OF CONTENTS 1. Comman ds and
- Page 121: Table of Contents mm o o o o o prin
- Page 125 and 126: Table of Contents hypot • • •
- Page 127 and 128: ua • utmp 5. Miscellaneous Facili
- Page 129 and 130: PERMUTED INDEX /functions of HP 264
- Page 131 and 132: � \ paste: paste buffer utilities
- Page 133 and 134: stdipc: standard interprocess commu
- Page 135 and 136: file. delta: make a delta (change)
- Page 137 and 138: getenv: return value for environmen
- Page 139 and 140: ldohseek: seek to the optional file
- Page 141 and 142: cpio: format of cpio archive. dir:
- Page 143 and 144: getpw: get name rrom UID. . • set
- Page 145 and 146: abort: generate an semaphore set or
- Page 147 and 148: passwd: change login password. sett
- Page 149 and 150: operations. msgctl: message control
- Page 151 and 152: split: split a file into channel. t
- Page 153 and 154: generate e program cross reference.
- Page 155 and 156: stream. setbuf: assign buffering to
- Page 157 and 158: � Permuted Index /strcmp, strncmp
- Page 159 and 160: tsort: topologica.l sort. • . .
- Page 161 and 162: display editor based on/ vi, view:
- Page 163: INTRO ( 1) INTRO ( l ) NAME intro -
- Page 166 and 167: 300 ( 1 ) 300 ( 1 ) for C programs,
- Page 168 and 169: \�
- Page 170 and 171: I I I I I I I I I I I I I I I I I I
Table of Contents<br />
fcntl . . file control<br />
fork • . . . . . . . . . . . . . • create a new process<br />
getpid • get process, process group, and parent process IDs<br />
getuid • . • . . get real or effective user, real or effective group IDs<br />
ioctl . . . . . . . . . . . . . . . . . . . . . . . control device<br />
kill • . . . . • . . send a signal to a process or a group of processes<br />
link • . . . • • . . . • • . . • link to a file<br />
locking<br />
!seek .<br />
mknod<br />
mount<br />
msgctl<br />
msgget<br />
. . • • . • exclusive access to regions of a file<br />
. . • . . . . . . move read/write file pointer<br />
. make a directory, or a special or ordinary file<br />
. . . . . • . • . . . • • . . mount a file system<br />
. . . . . . • . . . • . message control operations<br />
. . . • . . . . . . . • . . . . . . • get message queue<br />
msgop . . . . • . . . • . . . . . . . . . . message operations<br />
nice • . change priority of a process<br />
open • . • . • . . . . • • . . . . . • open for reading or writing<br />
pause . . . . . suspend process until signal<br />
pipe . . . . . create an interprocess channel<br />
plock • lock process, text, or data in memory<br />
profil . • . . . . • • execution time profile<br />
ptrace . . . . . . . . process trace<br />
read . • . . . . . . . . . . • . . . . . . • . . • read from file<br />
semctl . • . . . . . . . . . . • • . semaphore control operations<br />
semget . . . . . . . . . . . . . . . • • . get set of semaphores<br />
semop . . • . • . . • . . . . . . . . . . semaphore operations<br />
setpgrp . . . . . . . set process group ID<br />
setuid • . . . . . . • . . . • . . • . . • set user and group IDs<br />
shmctl . . . . . • . . . . . . • shared memory control operations<br />
shmget . . . . . . . . . . . . . . . get shared memory segment<br />
shmop . . . . . . . . . . • . . . . . shared memory operations<br />
signal . specify what to do upon receipt of a signal<br />
stat . • . . . . . . . . . . . . . . . . . . . . . get file status<br />
stime . . . . • . . set time<br />
sync • update super-block<br />
syslocal • • local system calls<br />
time • . . . . . . get time<br />
times . • . • . . . . . . • . . get process and child process times<br />
ulimit . • . • get and set user limits<br />
umask • . . . set and get file creation mask<br />
umount . . . • . . unmount a file system<br />
uname • . get name of current UNIX system<br />
unlink • . . . . . . • . . . . . . . . . . remove directory entry<br />
ustat . . . . . . . . . . . . . . . . . . get file system statistics<br />
utime • . . . . . . . . . . . set file access and modification times<br />
wait • . . . . • . • • . wait for child process to stop or terminate<br />
write . . . . . . . . . . . . . . . . . . . . • . write on a file<br />
- 5 -