Mon Apr 25 22:08:18 2011 UTC ()
Sort SEE ALSO, sort errors.


(wiz)
diff -r1.5 -r1.6 src/share/man/man9/kpause.9

cvs diff -r1.5 -r1.6 src/share/man/man9/kpause.9 (expand / switch to unified diff)

--- src/share/man/man9/kpause.9 2008/08/06 07:08:31 1.5
+++ src/share/man/man9/kpause.9 2011/04/25 22:08:18 1.6
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1.\" $NetBSD: kpause.9,v 1.5 2008/08/06 07:08:31 skrll Exp $ 1.\" $NetBSD: kpause.9,v 1.6 2011/04/25 22:08:18 wiz Exp $
2.\" 2.\"
3.\" Copyright (c) 2006, 2007 The NetBSD Foundation, Inc. 3.\" Copyright (c) 2006, 2007 The NetBSD Foundation, Inc.
4.\" All rights reserved. 4.\" All rights reserved.
5.\" 5.\"
6.\" This code is derived from software contributed to The NetBSD Foundation 6.\" This code is derived from software contributed to The NetBSD Foundation
7.\" by Andrew Doran. 7.\" by Andrew Doran.
8.\" 8.\"
9.\" Redistribution and use in source and binary forms, with or without 9.\" Redistribution and use in source and binary forms, with or without
10.\" modification, are permitted provided that the following conditions 10.\" modification, are permitted provided that the following conditions
11.\" are met: 11.\" are met:
12.\" 1. Redistributions of source code must retain the above copyright 12.\" 1. Redistributions of source code must retain the above copyright
13.\" notice, this list of conditions and the following disclaimer. 13.\" notice, this list of conditions and the following disclaimer.
14.\" 2. Redistributions in binary form must reproduce the above copyright 14.\" 2. Redistributions in binary form must reproduce the above copyright
@@ -92,34 +92,34 @@ will be released once the LWP has prepar @@ -92,34 +92,34 @@ will be released once the LWP has prepar
92before 92before
93.Fn kpause 93.Fn kpause
94returns. 94returns.
95.El 95.El
96.\" ------------------------------------------------------------ 96.\" ------------------------------------------------------------
97.Sh RETURN VALUES 97.Sh RETURN VALUES
98.Fn kpause 98.Fn kpause
99returns 0 when waking up spontaneously. 99returns 0 when waking up spontaneously.
100Otherwise, 100Otherwise,
101It returns an error number. 101It returns an error number.
102.\" ------------------------------------------------------------ 102.\" ------------------------------------------------------------
103.Sh ERRORS 103.Sh ERRORS
104.Bl -tag -width Er 104.Bl -tag -width Er
105.It Bq Er EWOULDBLOCK 
106The timeout expired. 
107.It Bq Er ERESTART 
108.Fn kpause 
109returned as a result of a signal with 
110.Dv SA_RESTART 
111property. 
112.It Bq Er EINTR 105.It Bq Er EINTR
113.Fn kpause 106.Fn kpause
114returned due to other reasons. 107returned due to other reasons.
115Typically as a result of a signal without 108Typically as a result of a signal without
116.Dv SA_RESTART 109.Dv SA_RESTART
117property. 110property.
 111.It Bq Er ERESTART
 112.Fn kpause
 113returned as a result of a signal with
 114.Dv SA_RESTART
 115property.
 116.It Bq Er EWOULDBLOCK
 117The timeout expired.
118.El 118.El
119.\" ------------------------------------------------------------ 119.\" ------------------------------------------------------------
120.Sh SEE ALSO 120.Sh SEE ALSO
121.Xr sigaction 2 , 121.Xr sigaction 2 ,
122.Xr errno 9 , 
123.Xr condvar 9 , 122.Xr condvar 9 ,
124.Xr mstohz 9 , 123.Xr errno 9 ,
125.Xr hz 9 124.Xr hz 9 ,
 125.Xr mstohz 9