unlink man page on SunOS

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

UNLINK(3F)							    UNLINK(3F)

NAME
       unlink - remove a file

SYNOPSIS
       integer function unlink ( name )
       character *(*) name

DESCRIPTION
       The  function  unlink removes the file specified by the path name name.
       If this is the last link to the file, the  contents  of	the  file  are
       lost.   The  returned  value is zero if successful, a system error code
       otherwise.

EXAMPLE
       The following program removes the file stuff:

       demo% ls
       a.f     other   stuff
       demo% cat a.f
	       external unlink
	       call unlink( 'stuff' )
	       stop
	       end
       demo% f77 a.f
       a.f:
	MAIN:
       demo% ls
       a.f     a.out*  other   stuff
       demo% a.out
       demo% ls
       a.f     a.out*  other
       demo%

FILES
       libfui.a

SEE ALSO
       unlink(2), link(3F), perror(3F)

BUGS
       Path  names  cannot  be	longer	 than	MAXPATHLEN   as	  defined   in
       <sys/param.h>.

				 07 July 1995			    UNLINK(3F)
[top]

List of man pages available for SunOS

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]
Tweet
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