ultrix man page for remove

Query: remove

OS: ultrix

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

remove(3)						     Library Functions Manual							 remove(3)

Name
       remove - removes files

Syntax
       remove (path)
       char *path;

Arguments
       path	      Provides the specification for a file or directory.

Description
       The  library  function  removes a file. If the path does not name a directory then remove(path) is equivalent to unlink(path).  If the path
       does name a directory then remove(path) is equivalent to rmdir(path).

Return Values
       A 0 is returned if the remove succeeds; otherwise a -1 is returned and an error code is stored in the global location errno.

See Also
       errno(2), rmdir(2), unlink(2)

																	 remove(3)
Related Man Pages
remove(3c) - opensolaris
rmdir(1) - osf1
remove(3p) - suse
mkdirp(3g) - hpux
remove(3c) - sunos
Similar Topics in the Unix Linux Community
Cd
Remove unwanted data?
Want to remove the last characters from each row of csv using shell script
Want to remove all lines but not latest 50 lines from a file
awk remove/grab lines from file with pattern from other file