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
'� '---- ··
SYSLOCAL ( 2) SYSLOCAL ( 2) NAME Syslocal - local system calls SYNOPSIS #include int syslocal (cmd [ , arg ] ... ) DESCRIPTION Syslocal executes special AT&T UNIX PC system calls. Cmd is the name of one of the system calls described below. SYSL_REBOOT Reboots the system. You must be superuser to execute. No additional arguments are required. SYSL_KADDR Returns certain kernel addresses or values. This call is used by programs like ps ( 1) so that they don't have to read the kernel symbol table. The second argument is one of the following: SLA_ V returns address of V SLA_PROC returns address of proc table SLA_TIME returns address of system time SLA_USRSTK returns top of user stack SLA_USIGN returns signature, unique # for each version SLA_BLDDATE returns address of build date string SLA_BLDPWD returns address of build directory string SLA_MEM returns size of physical memory SLA_BDEVCNT returns maximum number of block devices SLA_CDEVCNT returns maximum number of character devices SYSL_LED Turns on/off user LED. The second argument is either 0 for off or 1 for on. The following two calls support the hardware real-time clock. Their use requires the additional include file: #include SYSL_RDRTC Reads the real-time clock. The second argument is a struct rtc * . SYSL_WRTRTC Writes the real-time clock. The second argument is a struct rtc * . The following two calls support loadable device drivers. Their use requires the additional include file: #include - 1 -
- Page 712 and 713: MSGOP ( 2) MSGOP (2) the calling pr
- Page 714 and 715: If)
- Page 717 and 718: OPEN ( 2 ) OPEN ( 2 ) NAME open - o
- Page 719: OPEN(2) OPEN(2) O_NDELAY is set, th
- Page 722 and 723: I�
- Page 725 and 726: PLOCK(2) PLOCK(2) NAME plock - lock
- Page 727: PROFIL ( 2 ) PROFIL ( 2 ) NAME prof
- Page 730 and 731: PTRACE (2) PTRACE (2) 4, 5 With the
- Page 732 and 733: (� �--- .
- Page 735 and 736: SEMCTL ( 2 ) SEMCTL ( 2 ) NAME semc
- Page 737 and 738: SEMGET (2) SEMGET (2) NAME semget -
- Page 739 and 740: SEMOP ( 2) SEMOP {2) NAME semop - s
- Page 741 and 742: SEMOP (2) SEMOP (2) Operation permi
- Page 743: SETPGRP (2) SETPGRP (2) NAME setpgr
- Page 747 and 748: SHMCTL (2) SHMCTL (2) NAME shmctl -
- Page 749 and 750: � ! SHMGET (2) SHMGET (2) NAME sh
- Page 751 and 752: SHMOP ( 2 ) SHMOP ( 2 ) NAME shmop
- Page 753 and 754: SIGNAL (2) SIGNAL (2) NAME signal -
- Page 755 and 756: SIGNAL (2) SIGNAL (2) Sig is an ill
- Page 757 and 758: STAT ( 2 ) STAT ( 2 ) NAME stat, fs
- Page 759 and 760: STIME(2) STIME(2) NAME stime - set
- Page 761: SYNC ( 2) SYNC (2) NAME sync - upda
- Page 765: TIME ( 2) TIME(2) NAME time - get t
- Page 768 and 769: .�.· '··.· ·•. J '·· -,
- Page 771 and 772: UMASK( 2 ) UMASK ( 2 ) NAME umask -
- Page 773 and 774: UMOUNT (2) UMOUNT (2) NAME umount -
- Page 775: UNAME ( 2 ) UNAME (2) NAME uname -
- Page 779: USTAT (2) USTAT (2) NAME ustat - ge
- Page 783 and 784: WAIT ( 2 ) WAIT ( 2 ) NAME wait - w
- Page 785 and 786: WRITE(2) WRITE (2) NAME write - wri
- Page 787 and 788: INTR0 ( 3 ) INTR0 ( 3 ) NAME intro
- Page 789: A64L ( 3C ) A64L ( 3C ) NAME a641,
- Page 793: ABS (3C) ABS (3C) NAME abs - return
- Page 797: ATOF ( 3C ) ATOF ( 3C ) NAME atof -
- Page 800 and 801: ·�
- Page 803: CLOCK( 3C ) CLOCK( 3C ) NAME clock
- Page 806 and 807: J ··- � . ..._ __ .·
- Page 809: CTERMID ( 3S ) CTERMID ( 3S ) NAME
'� '---- ··