[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#240203: glibc-doc: sem_wait return value error

Package: glibc-doc
Version: 2.3.2.ds1-11
Severity: normal

       The !sem_wait! and !sem_getvalue! functions always return 0.  All other semaphore functions return 0 on success and
       ‐1 on error, in addition to writing an error code in !errno!.

sem_wait can return -1/EINTR on signal in NPTL.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.0
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8

-- no debconf information

Reply to: