mirror of https://github.com/mkerrisk/man-pages
futex.2: Use known types
Type u32 is not exposed to the user. Instead, refer to uint32_t, which is defined in ISO/IEC 9899:1999. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
d725ab772e
commit
c6dc40a2c9
|
@ -30,7 +30,7 @@ futex \- fast user-space locking
|
|||
.sp
|
||||
.BI "int futex(int *" uaddr ", int " futex_op ", int " val ,
|
||||
.BI " const struct timespec *" timeout , \
|
||||
" \fR /* or: \fBu32 \fIval2\fP */
|
||||
" \fR /* or: \fBuint32_t \fIval2\fP */
|
||||
.BI " int *" uaddr2 ", int " val3 );
|
||||
.fi
|
||||
|
||||
|
@ -141,7 +141,7 @@ is determined by the operation.
|
|||
For these operations, the kernel casts the
|
||||
.I timeout
|
||||
value to
|
||||
.IR u32 ,
|
||||
.IR uint32_t ,
|
||||
and in the remainder of this page, this argument is referred to as
|
||||
.I val2
|
||||
when interpreted in this fashion.
|
||||
|
|
Loading…
Reference in New Issue