Next: , Previous: Commands, Up: Top



2 My personal list of C-functions

— Function: int utime ( char *file, 0 )

touch file.

— Function: double difftime ( time_t future, time_t past )

Time elapsed in seconds.

— Function: time_t time ( 0 )

now .

— Function: int stat ( char *file, struct stat *status )

get file attribute: st_mode, st_size, st_mtime.

— Function: char *tempnam ( 0, char *prefi )

give tempfile name in /tmp.

— Function: int mkdir ( char *directory, S_IRWXU )

make directory.

— Function: char * getenv ( “LOGNAME” )

Get login name.

— Function: int getpwnam_r ( x x, x x )

Get passwd info from username.

— Function: x x ( x x, x x )

x .

— Function: x x ( x x, x x )

x .