Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/sys Use .Fn (and not .Nm) for functions.



details:   https://anonhg.NetBSD.org/src/rev/bb296ef83a67
branches:  trunk
changeset: 766900:bb296ef83a67
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Sun Jul 03 20:34:52 2011 +0000

description:
Use .Fn (and not .Nm) for functions.

diffstat:

 lib/libc/sys/revoke.2 |  13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diffs (47 lines):

diff -r 34e0731bd547 -r bb296ef83a67 lib/libc/sys/revoke.2
--- a/lib/libc/sys/revoke.2     Sun Jul 03 20:22:51 2011 +0000
+++ b/lib/libc/sys/revoke.2     Sun Jul 03 20:34:52 2011 +0000
@@ -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 .



Home | Main Index | Thread Index | Old Index