|
|
1.1 root 1: .\" Copyright (c) 1983 Regents of the University of California.
2: .\" All rights reserved. The Berkeley software License Agreement
3: .\" specifies the terms and conditions for redistribution.
4: .\"
5: .\" @(#)unlink.3f 6.1 (Berkeley) 5/15/85
6: .\"
7: .TH UNLINK 3F "May 15, 1985"
8: .UC 5
9: .SH NAME
10: unlink \- remove a directory entry
11: .SH SYNOPSIS
12: .B integer function unlink (name)
13: .br
14: .B character*(*) name
15: .SH DESCRIPTION
16: .I Unlink
17: causes the directory entry specified by pathname
18: .I name
19: to be removed.
20: If this was the last link to the file, the contents of the file are lost.
21: The returned value will be zero if successful; a system error code otherwise.
22: .SH FILES
23: .ie \nM /usr/ucb/lib/libU77.a
24: .el /usr/lib/libU77.a
25: .SH "SEE ALSO"
26: unlink(2), link(3F), filsys(5), perror(3F)
27: .SH BUGS
28: Pathnames can be no longer than MAXPATHLEN as defined in
29: .RI < sys/param.h >.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.