UTILITY general subroutines


The following general subroutines belong to the category UTILITY:
``General utility routines'' In parentheses the name of the source file is given.
anyoutf
anyout using variable arguments ()
CHRINT
Converts an integer to a character string. The integer is left-adjusted encoded. (chrint.c)
DCDCHAR
Decodes a string of characters into character strings. (herinp.c)
DCDCHARL
Decodes a string of characters into character strings. All alphabetic characters will be in lowercase. (herinp.c)
DCDCHARU
Decodes a string of characters into character strings. All alphabetic characters will be in uppercase. (herinp.c)
DCDDBLE
Decodes a string of characters into doubles. (herinp.c)
DCDINT
Decodes a string of characters into integers. (herinp.c)
DCDLOG
Decodes a string of characters into logicals. (herinp.c)
DCDREAL
Decodes a string of characters into reals. (herinp.c)
diskinfo
Get a formatted string with axis names and sizes for a set on disk. (diskinfo.c)
dmatrix
Allocate space for a matrix with subscript range M[ylo..yhi][xlo..xhi] for doubles. (matrix.c)
errorf
error, using variable arguments ()
filestat
Returns the status of a file. (filestat.c)
fmatrix
Allocate space for a matrix with subscript range M[ylo..yhi][xlo..xhi] for floats. (matrix.c)
freedmatrix
Free memory previously allocated with 'dmatrix'. (matrix.c)
freefmatrix
Free memory previously allocated with 'fmatrix'. (matrix.c)
freeimatrix
Free memory previously allocated with 'imatrix'. (matrix.c)
FTRUNC
Truncates a file to a specified number of bytes. (ftrunc.c)
GAUSSN
GAUSSN computes the value of an N-component Gaussian (gaussn.shl)
GDSD_HISTORY
Writes current date and time and the current task parameters to history in the descriptor of a set at top level. (history.c)
GETDATE
Returns the current time and date as a text string. (getdate.c)
GETLOGNAM
Returns the log name of the current user. (getlognam.c)
GETUSERNAM
Returns the user name of the current user. (getusernam.c)
HERINP
Decodes a string of characters into reals, integers, logicals, characters or bytes. (herinp.c)
imatrix
Allocate space for a matrix with subscript range M[ylo..yhi][xlo..xhi] for integers. (matrix.c)
MATRIX
Allocate space for a matrix with subscript range M[ylo..yhi][xlo..xhi] for floats and doubles (matrix.c)
present
Describes the use of undefined arguments in subroutine and function calls. (present.c)
presentc
Logical function checking the 'presence' of a character argument in a subroutine/function call. (present.c)
presentn
Logical function checking the 'presence' of a numeric argument in a subroutine/function call. (present.c)
TIMER
Returns the cpu time and real time. (timer.c)
WMATCH
Matches a test string with the mask string which contains wildcards. (wmatch.c)

GIPSY GIPSY