diff --git a/Documentation/NuttxUserGuide.html b/Documentation/NuttxUserGuide.html index 586b744c71..5326f22805 100644 --- a/Documentation/NuttxUserGuide.html +++ b/Documentation/NuttxUserGuide.html @@ -13,7 +13,7 @@

NuttX Operating System

User's Manual

by

Gregory Nutt

-

Last Updated: August 1, 2012

+

Last Updated: November 20, 2012

@@ -3419,6 +3419,7 @@ interface of the same name.
  • 2.8.11 sigtimedwait
  • 2.8.12 sigqueue
  • 2.8.13 kill
  • +
  • 2.8.14 pause
  • 2.8.1 sigemptyset

    @@ -3946,7 +3947,7 @@ be sent. Function Prototype:
        #include <sys/types.h>
    -   #include <signal.h>
    +   #include <signal.h>
        int kill(pid_t pid, int sig);
     
    @@ -3996,6 +3997,39 @@ be sent.
  • Sending of signals to 'process groups' is not supported in NuttX.
  • +

    2.8.14 pause

    + +

    +Function Prototype: +

    +   #include <unistd.h>
    +   int pause(void);
    +
    + +

    +Description: + The pause() function will suspend the calling thread until delivery of a non-blocked signal. +

    +Input Parameters: + + +

    + Returned Value: + Since pause() suspends thread execution indefinitely unless interrupted a signal, there is no successful completion return value. + A value of -1 (ERROR will always be returned and errno set to indicate the error (EINTR). +

    + +

    + Assumptions/Limitations: +

    +

    + POSIX Compatibility: + In the POSIX description of this function is the pause() function will suspend the calling thread until delivery of a signal whose action is either to execute a signal-catching function or to terminate the process. + This implementation only waits for any non-blocked signal to be recieved. +

    +
    @@ -6711,6 +6745,7 @@ pid_t getpid(void); void _exit(int status) noreturn_function; unsigned int sleep(unsigned int seconds); void usleep(unsigned long usec); +int pause(void); int close(int fd); int dup(int fd); @@ -8187,6 +8222,7 @@ notify a task when a message is available on a queue.
  • OS Interfaces
  • +
  • pause
  • pipe
  • poll
  • poll.h