Fixed synopsis:
- don't declare nonexistent function sleep(). - don't include <sys/errno.h> explicitly. sleep() should be nuked some more, e.g., this man page should not be named after a nonexistent function.
This commit is contained in:
parent
f160e6fb7e
commit
37c6de8c8b
@ -23,7 +23,7 @@
|
||||
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
.\"
|
||||
.\" $Id: sleep.9,v 1.7 1997/02/22 13:26:26 peter Exp $
|
||||
.\" $Id: sleep.9,v 1.8 1997/04/09 05:39:32 mpp Exp $
|
||||
.\" "
|
||||
.Dd April 3, 1996
|
||||
.Os
|
||||
@ -37,15 +37,12 @@
|
||||
.Fd #include <sys/param.h>
|
||||
.Fd #include <sys/systm.h>
|
||||
.Fd #include <sys/proc.h>
|
||||
.Fd #include <sys/errno.h>
|
||||
.Ft int
|
||||
.Fn tsleep "void *ident" "int priority" "char *wmesg" "int timo"
|
||||
.Ft void
|
||||
.Fn wakeup "void *ident"
|
||||
.Ft void
|
||||
.Fn wakeup_one "void *ident"
|
||||
.Ft int
|
||||
.Fn sleep "void *ident" "int priority"
|
||||
.Sh DESCRIPTION
|
||||
The functions
|
||||
.Fn tsleep
|
||||
|
Loading…
Reference in New Issue
Block a user