Make all bucket and overflow addresses unsigned
[unix-history] / usr / src / lib / libc / stdio / remove.3
CommitLineData
cf88ddb9
KB
1.\" Copyright (c) 1990 The Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" Chris Torek.
6.\"
7.\" %sccs.include.redist.man%
8.\"
9.\" @(#)remove.3 5.1 (Berkeley) %G%
10.\"
11.TH REMOVE 3 ""
12.UC 7
13.SH NAME
14remove \- remove directory entry
15.SH SYNOPSIS
16.nf
17.ft B
18int
19remove(char *path);
20.ft R
21.fi
22.SH DESCRIPTION
23.I Remove
24is an alias for the
25.IR unlink (2)
26system call.
27It deletes the file referenced by
28.IR path .
29.SH "SEE ALSO"
30unlink(2)
31.SH "RETURN VALUE"
32Upon successful completion,
33.I remove
34returns 0.
35Otherwise, \-1 is returned and the global variable
36.I errno
37is set to indicate the error.
38.SH ERRORS
39.I Remove
40may fail and set
41.I errno
42for any of the errors specified for the routine
43.IR unlink (2).
44.SH STANDARDS
45The
46.I remove
47function conforms to ANSI X3.159-1989 (``ANSI C'').