|
|
coherent
general functions Overview general functions The library lliibbcc includes a number of functions that perform useful, general tasks: aabboorrtt() End program immediately aabbss() Return the absolute value of an integer aasssseerrtt() Check assertion at run time aattooff() Convert ASCII strings to floating point aattooii() Convert ASCII strings to integers aattooll() Convert ASCII strings to long integers ccaalllloocc() Allocate dynamic memory ccaannddaaddddrr()Convert a ddaaddddrr_tt to canonical format ccaannddeevv() Convert a ddeevv_tt to canonical format ccaanniinnoo() Convert a iinnoo_tt to canonical format ccaanniinntt() Convert a iinntt to canonical format ccaannlloonngg() Convert a lloonngg to canonical format ccaannsshhoorrtt()Convert a sshhoorrtt to canonical format ccaannssiizzee() Convert an ffssiizzee_tt to canonical format ccaannttiimmee() Convert a ttiimmee_tt to canonical format ccaannvvaaddddrr()Convert a vvaaddddrr_tt to canonical format ccrryypptt() Encryption using rotor algorithm eeccvvtt() Convert floating-point numbers to strings eennddggrreenntt()Close group file eennddppwweenntt()Close password file eexxiitt() Terminate a program ffccvvtt() Convert floating point numbers to ASCII strings ffrreeee() Return dynamic memory to free memory pool ffrreexxpp() Separate fraction and exponent ggccvvtt() Convert floating point number to ASCII string ggeetteennvv() Read environmental variable ggeettggrreenntt()Get group file information ggeettggrrggiidd()Get group file information, by group id ggeettggrrnnaamm()Get group file information, by group name ggeettllooggiinn()Get login name ggeettoopptt() Get a command-line option ggeettppaassss() Get password with prompting ggeettppww() Search password file ggeettppwweenntt()Get password file information ggeettppwwnnaamm()Get password file information, by name ggeettppwwuuiidd()Get password file information, by id ggeettwwdd() Get current working directory name iissaattttyy() Check if a device is a terminal ll33ttooll() Convert file system block number to long integer llddeexxpp() Combine fraction and exponent lloonnggjjmmpp() Return from a non-local goto llttooll33() Convert long integer to file system block number mmaalllloocc() Allocate dynamic memory mmeemmookk() Check if the arena is sound mmkktteemmpp() Generate a temporary file name mmooddff() Separate integral part and fraction mmttyyppee() Return symbolic machine type nnlliisstt() Symbol table lookup ppaatthh() Build a path name for a file ppeerrrroorr() System call error messages qqssoorrtt() Sort arrays in memory COHERENT Lexicon Page 1 general functions Overview general functions rraanndd() Generate pseudo-random numbers rreeaalllloocc() Reallocate dynamic memory sseettggrreenntt()Rewind group file sseettjjmmpp() Perform non-local goto sseettppwweenntt()Rewind password file sshheellllssoorrtt()Sort arrays in memory sslleeeepp() Suspend execution ssrraanndd() Seed random number generator sswwaabb() Swap a pair of bytes ssyysstteemm() Pass a command to the shell for execution ttttyynnaammee() Identify a terminal ttttyysslloott() Return a terminal's line number ***** See Also ***** libraries COHERENT Lexicon Page 2
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.