mirror of https://github.com/mkerrisk/man-pages
sem_wait.3: EXAMPLE: Remove extraneous line of output from shell session
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
c799ca6250
commit
88eafb6e7a
|
@ -23,7 +23,7 @@
|
|||
.\" Formatted or processed versions of this manual, if unaccompanied by
|
||||
.\" the source, must acknowledge the copyright and authors of this work.
|
||||
.\"
|
||||
.TH SEM_WAIT 3 2010-02-25 "Linux" "Linux Programmer's Manual"
|
||||
.TH SEM_WAIT 3 2012-02-12 "Linux" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
sem_wait, sem_timedwait, sem_trywait \- lock a semaphore
|
||||
.SH SYNOPSIS
|
||||
|
@ -175,7 +175,6 @@ The following shows what happens on two different runs of the program:
|
|||
.RB "$" " ./a.out 2 3"
|
||||
About to call sem_timedwait()
|
||||
sem_post() from handler
|
||||
sem_getvalue() from handler; value = 1
|
||||
sem_timedwait() succeeded
|
||||
.RB "$" " ./a.out 2 1"
|
||||
About to call sem_timedwait()
|
||||
|
|
Loading…
Reference in New Issue