The nsops arguments have type size_t, not unsigned, and the timeout argument of semtimedop() is const. Signed-off-by: Rasmus Villemoes <rv@xxxxxxxxxxxxxxxxxx> --- man2/semop.2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/man2/semop.2 b/man2/semop.2 index c55473b..8f70e63 100644 --- a/man2/semop.2 +++ b/man2/semop.2 @@ -41,10 +41,10 @@ semop, semtimedop \- System V semaphore operations .B #include <sys/ipc.h> .B #include <sys/sem.h> .sp -.BI "int semop(int " semid ", struct sembuf *" sops ", unsigned " nsops ); +.BI "int semop(int " semid ", struct sembuf *" sops ", size_t " nsops ); .sp -.BI "int semtimedop(int " semid ", struct sembuf *" sops ", unsigned " nsops , -.BI " struct timespec *" timeout ); +.BI "int semtimedop(int " semid ", struct sembuf *" sops ", size_t " nsops , +.BI " const struct timespec *" timeout ); .fi .sp .in -4n -- 1.9.2 -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html