summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/remove.3
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2015-01-29 01:46:30 +0000
committerschwarze <schwarze@openbsd.org>2015-01-29 01:46:30 +0000
commitee10762e100ef47e82bb9da2ebe88f56c8db1013 (patch)
tree02ab3c65edd5034ed995d7f9609ea712653c2643 /lib/libc/stdio/remove.3
parentRadical cleanup of COMPATIBILITY sections: (diff)
downloadwireguard-openbsd-ee10762e100ef47e82bb9da2ebe88f56c8db1013.tar.xz
wireguard-openbsd-ee10762e100ef47e82bb9da2ebe88f56c8db1013.zip
Use .Rv where appropriate, and move it to RETURN VALUES;
remove .Tn, and a few minor macro adjustments. Patch from Kaspars at Bankovskis dot net.
Diffstat (limited to 'lib/libc/stdio/remove.3')
-rw-r--r--lib/libc/stdio/remove.311
1 files changed, 3 insertions, 8 deletions
diff --git a/lib/libc/stdio/remove.3 b/lib/libc/stdio/remove.3
index 82081ef4605..e59c1363170 100644
--- a/lib/libc/stdio/remove.3
+++ b/lib/libc/stdio/remove.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: remove.3,v 1.12 2013/06/05 03:39:23 tedu Exp $
+.\" $OpenBSD: remove.3,v 1.13 2015/01/29 01:46:30 schwarze Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -33,7 +33,7 @@
.\"
.\" @(#)remove.3 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: June 5 2013 $
+.Dd $Mdocdate: January 29 2015 $
.Dt REMOVE 3
.Os
.Sh NAME
@@ -58,12 +58,7 @@ is the equivalent of
Otherwise, it is the equivalent of
.Fn unlink "path" .
.Sh RETURN VALUES
-Upon successful completion,
-.Fn remove
-returns 0.
-Otherwise, \-1 is returned and the global variable
-.Va errno
-is set to indicate the error.
+.Rv -std
.Sh ERRORS
The
.Fn remove