summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorjraynard <jraynard@FreeBSD.org>1996-06-22 18:05:15 +0000
committerjraynard <jraynard@FreeBSD.org>1996-06-22 18:05:15 +0000
commit8c1de2763b887a4b942724ccad9e581093b60440 (patch)
tree512b131d41a91335427f66cd32d10e43fb0bc251 /lib
parent24a3f84f0cc325ea68cc52b931a4504fbe1c4889 (diff)
downloadFreeBSD-src-8c1de2763b887a4b942724ccad9e581093b60440.zip
FreeBSD-src-8c1de2763b887a4b942724ccad9e581093b60440.tar.gz
Submitted by: Wolfram Schneider <wosch@cs.tu-berlin.de>
Document the fact that the tracefile argument must lead to a regular file. Also took the opportunity to remove the spurious "Errors" entry relating to filenames with the high-order bit set and add $Id$. (More of the same to follow if there are no objections).
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/ktrace.25
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libc/sys/ktrace.2 b/lib/libc/sys/ktrace.2
index fd4515f..86c9e3c 100644
--- a/lib/libc/sys/ktrace.2
+++ b/lib/libc/sys/ktrace.2
@@ -30,6 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)ktrace.2 8.1 (Berkeley) 6/4/93
+.\" $Id$
.\"
.Dd June 4, 1993
.Dt KTRACE 2
@@ -54,7 +55,7 @@ Only the super-user can trace setuid or setgid programs.
The
.Ar tracefile
gives the pathname of the file to be used for tracing.
-The file must exist and be writable by the calling process.
+The file must exist and be a regular file writable by the calling process.
All trace records are always appended to the file,
so the file must be truncated to zero length to discard
previous trace data.
@@ -140,8 +141,6 @@ will fail if:
.Bl -tag -width ENAMETOOLONGAA
.It Bq Er ENOTDIR
A component of the path prefix is not a directory.
-.It Bq Er EINVAL
-The pathname contains a character with the high-order bit set.
.It Bq Er ENAMETOOLONG
A component of a pathname exceeded 255 characters,
or an entire path name exceeded 1023 characters.
OpenPOWER on IntegriCloud