Ignore:
Timestamp:
Nov 8, 2004, 10:57:37 AM (21 years ago)
Author:
bird
Message:

Having a go at waitid (and waitpid()/wait()).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/include/InnoTekLIBC/backend.h

    • Property cvs2svn:cvs-rev changed from 1.11 to 1.12
    r1626 r1627  
    3030#include <sys/cdefs.h>
    3131#include <sys/types.h>
     32#include <sys/_timeval.h>
     33#include <sys/resource.h>
     34#include <sys/wait.h>
    3235#include <signal.h>
    3336#include <emx/io.h>
     
    657660/** @} */
    658661
     662
     663
     664/** @defgroup grp_Back_process  LIBC Backend - Process Management
     665 * @{ */
     666
     667/**
     668 * Waits/polls for on one or more processes to change it's running status.
     669 *
     670 * @returns 0 on success, pSigInfo containing status info.
     671 * @returns -1 and errno on failure.
     672 * @param   enmIdType   What kind of process specification Id contains.
     673 * @param   Id          Process specification of the enmIdType sort.
     674 * @param   pSigInfo    Where to store the result.
     675 * @param   fOptions    The WEXITED, WUNTRACED, WSTOPPED and WCONTINUED flags are used to
     676 *                      select the events to report. WNOHANG is used for preventing the api
     677 *                      from blocking. And WNOWAIT is used for peeking.
     678 * @param   pResUsage   Where to store the reported resources usage for the child.
     679 *                      Optional and not implemented on OS/2.
     680 */
     681int __libc_Back_processWait(idtype_t enmIdType, id_t Id, siginfo_t *pSigInfo, unsigned fOptions, struct rusage *pUsage);
     682
     683/** @} */
     684
    659685__END_DECLS
    660686
Note: See TracChangeset for help on using the changeset viewer.