remove man page on DigitalUNIX

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
DigitalUNIX logo
[printable version]

remove(3)							     remove(3)

       remove - Remove a file

       #include <stdio.h>

       int remove(
	       const char *path );

       Standard C Library (libc)

       Interfaces  documented on this reference page conform to industry stan‐
       dards as follows:

       remove():  POSIX.1, XPG4, XPG4-UNIX

       Refer to the standards(5) reference page	 for  more  information	 about
       industry standards and associated tags.

       Points to the file to be removed.

       The remove() function causes a file named by the pathname 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 it is created anew.

       If  the path parameter names a directory, remove(path) is equivalent to
       calling the rmdir() function on that directory. If path does not name a
       directory, remove(path) is equivalent to unlink(path).

       If  the	file  operated upon by the remove() function has multiple hard
       links, the link count in the file is decremented and only the specified
       file name is removed.

       Upon  successful	 completion,  the  remove() function returns 0 (zero).
       Otherwise, a nonzero value is returned. Refer to the unlink()  function
       and the rmdir() function for information on return values.

       Refer to the unlink() function and the rmdir() function for information
       on error conditions.

       Functions: link(2), rename(2), rmdir(2), unlink(2)

       Standards: standards(5)


List of man pages available for DigitalUNIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net