unix: add unlink-file

db4
Eduardo Cavazos 2008-05-13 18:40:09 -05:00
parent 68fbd92703
commit 6f2192bb7f
1 changed files with 4 additions and 0 deletions

View File

@ -164,7 +164,11 @@ FUNCTION: int socket ( int domain, int type, int protocol ) ;
FUNCTION: char* strerror ( int errno ) ;
FUNCTION: int symlink ( char* path1, char* path2 ) ;
FUNCTION: int system ( char* command ) ;
FUNCTION: int unlink ( char* path ) ;
: unlink-file ( path -- ) [ unlink ] unix-system-call ;
FUNCTION: int utimes ( char* path, timeval[2] times ) ;
: SIGKILL 9 ; inline