unix: add unlink-file
parent
68fbd92703
commit
6f2192bb7f
|
@ -164,7 +164,11 @@ FUNCTION: int socket ( int domain, int type, int protocol ) ;
|
||||||
FUNCTION: char* strerror ( int errno ) ;
|
FUNCTION: char* strerror ( int errno ) ;
|
||||||
FUNCTION: int symlink ( char* path1, char* path2 ) ;
|
FUNCTION: int symlink ( char* path1, char* path2 ) ;
|
||||||
FUNCTION: int system ( char* command ) ;
|
FUNCTION: int system ( char* command ) ;
|
||||||
|
|
||||||
FUNCTION: int unlink ( char* path ) ;
|
FUNCTION: int unlink ( char* path ) ;
|
||||||
|
|
||||||
|
: unlink-file ( path -- ) [ unlink ] unix-system-call ;
|
||||||
|
|
||||||
FUNCTION: int utimes ( char* path, timeval[2] times ) ;
|
FUNCTION: int utimes ( char* path, timeval[2] times ) ;
|
||||||
|
|
||||||
: SIGKILL 9 ; inline
|
: SIGKILL 9 ; inline
|
||||||
|
|
Loading…
Reference in New Issue