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 for functions.



details:   https://anonhg.NetBSD.org/src/rev/795f5f3b39a1
branches:  trunk
changeset: 763778:795f5f3b39a1
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Mon Apr 04 08:00:53 2011 +0000

description:
Use .Fn for functions.

diffstat:

 lib/libc/sys/getsid.2 |   8 ++++----
 lib/libc/sys/setsid.2 |  12 ++++++------
 2 files changed, 10 insertions(+), 10 deletions(-)

diffs (86 lines):

diff -r cb7ed58b3629 -r 795f5f3b39a1 lib/libc/sys/getsid.2
--- a/lib/libc/sys/getsid.2     Mon Apr 04 07:17:08 2011 +0000
+++ b/lib/libc/sys/getsid.2     Mon Apr 04 08:00:53 2011 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: getsid.2,v 1.10 2006/10/07 21:03:51 elad Exp $
+.\"    $NetBSD: getsid.2,v 1.11 2011/04/04 08:00:53 jruoho Exp $
 .\"
 .\" Copyright (c) 1983, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"     @(#)getpgrp.2  8.1 (Berkeley) 6/4/93
 .\"
-.Dd October 7, 2006
+.Dd April 4, 2011
 .Dt GETSID 2
 .Os
 .Sh NAME
@@ -43,7 +43,7 @@
 .Fn getsid "pid_t pid"
 .Sh DESCRIPTION
 The
-.Nm
+.Fn getsid
 function returns the session ID of the process specified by
 .Ar pid .
 If
@@ -53,7 +53,7 @@
 process that is the session leader.
 .Sh ERRORS
 If an error occurs,
-.Nm
+.Fn getsid
 returns \-1 and the global variable
 .Va errno
 is set to indicate the error, as follows:
diff -r cb7ed58b3629 -r 795f5f3b39a1 lib/libc/sys/setsid.2
--- a/lib/libc/sys/setsid.2     Mon Apr 04 07:17:08 2011 +0000
+++ b/lib/libc/sys/setsid.2     Mon Apr 04 08:00:53 2011 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: setsid.2,v 1.14 2006/10/07 21:03:51 elad Exp $
+.\"    $NetBSD: setsid.2,v 1.15 2011/04/04 08:00:53 jruoho Exp $
 .\"
 .\" Copyright (c) 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"    @(#)setsid.2    8.1 (Berkeley) 6/4/93
 .\"
-.Dd October 7, 2006
+.Dd April 4, 2011
 .Dt SETSID 2
 .Os
 .Sh NAME
@@ -43,7 +43,7 @@
 .Fn setsid "void"
 .Sh DESCRIPTION
 The
-.Nm setsid
+.Fn setsid
 function creates a new session.
 The calling process is the session leader of the new session, is the
 process group leader of a new process group and has no controlling
@@ -52,12 +52,12 @@
 process group.
 .Pp
 Upon successful completion, the
-.Nm setsid
+.Fn setsid
 function returns the value of the process group ID of the new process
 group, which is the same as the process ID of the calling process.
 .Sh ERRORS
 If an error occurs,
-.Nm setsid
+.Fn setsid
 returns \-1 and the global variable
 .Va errno
 is set to indicate the error, as follows:
@@ -74,6 +74,6 @@
 .Xr tcsetpgrp 3
 .Sh STANDARDS
 The
-.Nm setsid
+.Fn setsid
 function conforms to
 .St -p1003.1-90 .



Home | Main Index | Thread Index | Old Index