David Busby <mailto:[EMAIL PROTECTED]> wrote on Thursday, 9 January 2003 20:09:

> `man 2 unlink` gives:
> UNLINK(2)                        Linux Programmer's Manual           
> UNLINK(2) 
> 
> NAME
>        unlink - delete a name and possibly the file it refers to
> 
> SYNOPSIS
>        #include <unistd.h>
> 
>        int unlink(const char *pathname);
> 

And the stdio version is
   remove( const char *path );
Slightly more portable.

Cameron.



> 
>       ----- Original Message -----
> 
>            I am using RedHat 72 and i would like to make a C
> program which delete a file in a directory.
> 
>       Could you tell me how?
> 
>       Thanks in advance
> 
>       Canarich
> 



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to