01.01.2013 Views

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

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Table of Contents<br />

3. Subroutines<br />

intro • • • • • • . • • • • introduction to subroutines and libraries<br />

a641 • • • • • convert between long integer and base-64 ASCII string<br />

abort • . • • • generate an lOT fault<br />

abs • • • • • • • • . • • . . • . • return integer absolute value<br />

assert • . • • • . . . • • • • • • • • • verify program assertion<br />

atof • • • • . . • • • convert ASCII string to floating-point number<br />

bessel • • • • • Bessel functions<br />

bsearch . . • . • . • • . . . binary search<br />

clock • . • . . . • • • . . • . • . . • • . report CPU time used<br />

conv • • . • • • • . • • . • . • . • . • . • translate characters<br />

crypt • • • . • • • • • . • . • . • . • generate DES encryption<br />

ctermid . • • . . • • . . • . • . • generate file name for terminal<br />

ctime . • • • . . • . . • . • . • convert date and time to string<br />

ctype • • • • . • • • . • • • • • • • • • • • classify characters<br />

curses • • . • • • • screen functions with "optimal " cursor motion<br />

cuserid • • . . . • • • . . • • get character login name of the user<br />

dial • • • • . • establish an out-going terminal line connection<br />

drand48 • • • generate uniformly distributed pseudo-random numbers<br />

ecvt • . • • • • • • • • • convert floating-point number to string<br />

end • • • . • • • • . • . . • • . • . • last locations in program<br />

eprintf . • • • . . . . . • . send a message to the status manager<br />

erf • • • • • • . . error function and complementary error function<br />

exp • • exponential, logarithm, power, square root functions<br />

fclose • • • • . • . • . . . . . close or flush a stream<br />

ferror • • • • • • • • • • • • • • stream status inquiries<br />

floor • • . • • • • floor, ceiling, remainder, absolute value functions<br />

fopen • • • • • • • open a stream<br />

form • . • • • • • • • • display and accept forms<br />

fread • . • • • . • . • . • • binary input/output<br />

frexp • . manipulate parts of floating-point numbers<br />

fseek • • • reposition a file pointer in a stream<br />

ftw • • • • • • • • • • • • • • • • • • • • • • • walk a file tree<br />

gamma • • • • . • • . • • • • • • • • • • • log gamma function<br />

getc • . • • . . • • • • • • • • get character or word from stream<br />

getcwd . • • . . • • . get path-name of current working directory<br />

getenv • return value for environment name<br />

getgrent • • • • . . . • • . • . . • • • • . get group file entry<br />

getlogin . • • • . . . . . • . • . . • • • • • • • get login name<br />

getopt . • • . . • • • • . • get option letter from argument vector<br />

getpass • • • • • • • • • • • • • • • • • • • • read a password<br />

getpent • • . . . • • . . get and clean up printer status file entries<br />

getpw • . . . • • • • . . • . . • . . • . • get name from UID<br />

getpwent • • • • . • • . • • • • • • • . • get password file entry<br />

gets • get a string from a stream<br />

getut • . • • access utmp file entry<br />

hsearch • manage hash search tables<br />

- 6-<br />

�<br />

I

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

Saved successfully!

Ooh no, something went wrong!