*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> remove (3c)              
Title
Content
Arch
Section
 

Contents


remove(3C)							    remove(3C)


NAME    [Toc]    [Back]

     remove - remove file

SYNOPSIS    [Toc]    [Back]

     #include <stdio.h>

     int remove(const char *path<b>);

DESCRIPTION    [Toc]    [Back]

     remove causes the file or empty directory whose name is the string
     pointed to	by path	to be no longer	accessible by that name.  A subsequent
     attempt to	open that file using that name will fail, unless the file is
     created anew.

     For files,	remove is identical to unlink. For directories,	remove is
     identical to rmdir.

     See rmdir(2) and unlink(2)	for a detailed list of failure conditions.

   Return Values    [Toc]    [Back]
     Upon successful completion, remove	returns	a value	of 0; otherwise, it
     returns a value of	-1 and sets errno to indicate an error.

REFERENCES    [Toc]    [Back]

     rmdir(2), unlink(2)


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
lifrm HP-UX remove a LIF file
efi_rm HP-UX remove an EFI file
remove Tru64 Remove a file
rmdir Tru64 Remove a directory file
VOP_RMDIR FreeBSD remove a file or directory
remove OpenBSD remove a file or directory
VOP_REMOVE FreeBSD remove a file or directory
rmdir OpenBSD remove a directory file
colrm FreeBSD remove columns from a file
rmdir HP-UX remove a directory file
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service