OSDN Git Service

libc: update alarm() implementation to return 0 on error.
authorDavid 'Digit' Turner <digit@google.com>
Fri, 9 Jul 2010 00:19:07 +0000 (17:19 -0700)
committerDavid 'Digit' Turner <digit@google.com>
Fri, 9 Jul 2010 00:20:29 +0000 (17:20 -0700)
commitcb7e8c5ef3f5f60a848e469ed40610c8946fe7ac
tree57f834d14915d4a63edf62aa0026676064baba8f
parentab8b54101eed0a4b92ebf8fa6994cd1b4f22d8f4
libc: update alarm() implementation to return 0 on error.

This matches the GLibc behaviour, and allows alarm(0xFFFFFFFF) to return 0.

Change-Id: I419aa71b27d6bb2015d15ba6b6112bf62eadcbb8
libc/docs/CHANGES.TXT
libc/unistd/alarm.c