bsd man page for unlink

Query: unlink

OS: bsd

Section: 3f

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

UNLINK(3F)																UNLINK(3F)

NAME
unlink - remove a directory entry
SYNOPSIS
integer function unlink (name) character*(*) name
DESCRIPTION
Unlink causes the directory entry specified by pathname name to be removed. If this was the last link to the file, the contents of the file are lost. The returned value will be zero if successful; a system error code otherwise.
FILES
/usr/lib/libU77.a
SEE ALSO
unlink(2), link(3F), filsys(5), perror(3F)
BUGS
Pathnames can be no longer than MAXPATHLEN as defined in <sys/param.h>. 4.2 Berkeley Distribution May 15, 1985 UNLINK(3F)
Related Man Pages
unlinkat(2) - mojave
unlink(1) - debian
unlink(2) - minix
link(1) - osf1
unlink(2) - netbsd
Similar Topics in the Unix Linux Community
mv: cannot unlink ????
How do you delete files that are seemingly missing inodes?
How to Unlink all files in a directory?
Is there a way to completely remove an inode when the Link count is 2 ?
Unable to unlink files perl