mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 02:48:37 +08:00
Restructure header files for POSIX compliance; eliminate compile warnings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@107 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
369c723ff6
commit
eead9775cb
1 changed files with 7 additions and 13 deletions
|
@ -1492,7 +1492,8 @@ This parameter is required but not used in the present
|
|||
implementation.
|
||||
<LI><I>value</I>. The value parameter is type unsigned int. The semaphore
|
||||
is created with an initial value of <I>value</I>. Valid initial values for
|
||||
semaphores must be less than or equal to <I>SEM_MAX_VALUE</I>.
|
||||
semaphores must be less than or equal to <I>SEM_VALUE_MAX</I> (defined in
|
||||
<CODE>include/limits.h</CODE>).
|
||||
</UL>
|
||||
</UL>
|
||||
|
||||
|
@ -2406,18 +2407,11 @@ in the si_code member. The content of si_value is only meaningful
|
|||
if the signal was generated by sigqueue(). The following values
|
||||
for si_code are defined in signal.h:
|
||||
<UL>
|
||||
<LI>Standard:
|
||||
<UL>
|
||||
<LI><I>SI_QUEUE</I>. Signal sent from sigqueue
|
||||
<LI><I>SI_MESGQ</I>. Signal generated by arrival of a message
|
||||
on an empty message queue
|
||||
</UL>
|
||||
|
||||
<LI>Unique to this implementation:
|
||||
<UL>
|
||||
<LI><I>SI_TIMEOUT</I>. No Signal, restarted by timeout
|
||||
</UL>
|
||||
|
||||
<LI><I>SI_USER</I>. Signal sent from kill, raise, or abort
|
||||
<LI><I>SI_QUEUE</I>. Signal sent from sigqueue
|
||||
<LI><I>SI_TIMER</I>. Signal is result of timer expiration
|
||||
<LI><I>SI_ASYNCIO</I>. Signal is the result of asynch IO completion
|
||||
<LI><I>SI_MESGQ</I>. Signal generated by arrival of a message on an empty message queue.
|
||||
</UL>
|
||||
|
||||
<P>
|
||||
|
|
Loading…
Reference in a new issue