next up previous 216
Next: Classified list of routines
Up: PSX POSIX interface routines
Previous: Include Files


Alphabetical list of routines

PSX_ASCTIME ( TSTRCT, STRING, STATUS )
Convert a time structure to a character string
PSX_CALLOC ( NMEMB, TYPE, PNTR, STATUS )
Allocate space for several objects of specified type
PSX_CTIME ( NTICKS, STRING, STATUS )
Convert the calendar time to a character string
PSX_CUSERID ( USER, STATUS )
Get the username
PSX_FREE ( PNTR, STATUS )
Free virtual memory
PSX_GETEGID ( GID, STATUS )
Gets the effective group ID
PSX_GETENV ( NAME, TRANS, STATUS )
Translate an environment variable
PSX_GETEUID ( UID, STATUS )
Gets the effective user ID
PSX_GETGID ( GID, STATUS )
Gets the real group ID
PSX_GETPID ( PID, STATUS )
Gets the process ID
PSX_GETPPID ( PID, STATUS )
Gets the process ID of the parent process
PSX_GETUID ( UID, STATUS )
Gets the real user ID
PSX_GMTIME
( NTICKS, SECS, MINS, HOURS, DAY, MONTH, YEAR, WDAY, YDAY, TSTRCT, STATUS )
Convert the value returned by PSX_TIME to individual GMT values
PSX_ISATTY ( FILDSC, ISTTY, STATUS )
Determine if a file is a terminal
PSX_LOCALTIME
( NTICKS, SECS, MINS, HOURS, DAY, MONTH, YEAR, WDAY, YDAY, ISDST, TSTRCT, STATUS )
Convert the value returned by PSX_TIME to individual local time values
PSX_MALLOC ( SIZE, PNTR, STATUS )
Allocate virtual memory
PSX_PUTENV ( NAME, VALUE, STATUS )
Set a new environment variable value
PSX_RAND ( INUM, MAXNUM, FNUM, STATUS )
Generate a random number
PSX_REALLOC ( SIZE, PNTR, STATUS )
Change the size of an allocated region of virtual memory
PSX_SRAND ( SEED, STATUS )
Set the seed for the random number generator
PSX_TIME ( NTICKS, STATUS )
Get the current calendar time
PSX_TTYNAME ( FILDSC, TNAME, STATUS )
Get the name of the terminal
PSX_UNAME
( SYSNAME, NODENAME, RELEASE, VERSION, MACHINE, STATUS )
Gets information about the host computer system



next up previous 216
Next: Classified list of routines
Up: PSX POSIX interface routines
Previous: Include Files

PSX POSIX interface routines
Starlink User Note 121
P M Allan
A J Chipperfield
10 April 2003
E-mail:ussc@star.rl.ac.uk

Copyright © 2000 Council for the Central Laboratory of the Research Councils