Module Name: src Committed By: jruoho Date: Sun Jul 3 20:34:52 UTC 2011
Modified Files: src/lib/libc/sys: revoke.2 Log Message: Use .Fn (and not .Nm) for functions. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/lib/libc/sys/revoke.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libc/sys/revoke.2 diff -u src/lib/libc/sys/revoke.2:1.12 src/lib/libc/sys/revoke.2:1.13 --- src/lib/libc/sys/revoke.2:1.12 Thu Aug 7 16:44:05 2003 +++ src/lib/libc/sys/revoke.2 Sun Jul 3 20:34:52 2011 @@ -1,4 +1,4 @@ -.\" $NetBSD: revoke.2,v 1.12 2003/08/07 16:44:05 agc Exp $ +.\" $NetBSD: revoke.2,v 1.13 2011/07/03 20:34:52 jruoho Exp $ .\" .\" Copyright (c) 1993 .\" The Regents of the University of California. All rights reserved. @@ -32,7 +32,7 @@ .\" .\" @(#)revoke.2 8.1 (Berkeley) 6/4/93 .\" -.Dd March 22, 1999 +.Dd July 3, 2011 .Dt REVOKE 2 .Os .Sh NAME @@ -46,7 +46,7 @@ .Fn revoke "const char *path" .Sh DESCRIPTION The -.Nm revoke +.Fn revoke function invalidates all current open file descriptors in the system for the file named by .Fa path . @@ -64,8 +64,9 @@ .Pp Access to a file may be revoked only by its owner or the super user. .Pp -.Nm revoke -is normally used to prepare a terminal device for a new login session, +The +.Fn revoke +function is normally used to prepare a terminal device for a new login session, preventing any access by a previous user of the terminal. .Sh RETURN VALUES A 0 value indicates that the call succeeded. @@ -102,6 +103,6 @@ .Xr write 2 .Sh HISTORY The -.Nm revoke +.Fn revoke function was introduced in .Bx 4.3 Reno .