diff options
author | Khem Raj <kraj@mvista.com> | 2008-12-31 00:31:38 +0000 |
---|---|---|
committer | Khem Raj <kraj@mvista.com> | 2008-12-31 00:31:38 +0000 |
commit | 15a971616c3e2f373264d0a2e4cd87aa11042737 (patch) | |
tree | de7759a5bfcc0548b63e7d289fd1829aba6dad48 /include/unistd.h | |
parent | e422845f587db4139bd72fd3ae827ae91420855a (diff) |
Merge some pre-work from branch, needed by NPTL.
Diffstat (limited to 'include/unistd.h')
-rw-r--r-- | include/unistd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/unistd.h b/include/unistd.h index 613fc9d8f..eb0d94595 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -770,6 +770,8 @@ extern __pid_t vfork (void) __THROW; libc_hidden_proto(vfork) #endif /* Use BSD. */ +/* Special exit function which only terminates the current thread. */ +extern void __exit_thread (int val) __attribute__ ((noreturn)); /* Return the pathname of the terminal FD is open on, or NULL on errors. The returned storage is good only until the next call to this function. */ |