Changeset e64b55a in mainline


Ignore:
Timestamp:
2011-06-24T01:00:33Z (13 years ago)
Author:
Petr Koupy <petr.koupy@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
67c64b9f
Parents:
823a929
Message:

Added function stub into sys/wait.h.

Location:
uspace/lib/posix/sys
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/sys/wait.c

    r823a929 re64b55a  
    5050}
    5151
     52/**
     53 *
     54 * @param pid
     55 * @param stat_ptr
     56 * @param options
     57 * @return
     58 */
     59posix_pid_t posix_waitpid(posix_pid_t pid, int *stat_ptr, int options)
     60{
     61        // TODO: low priority, just a compile-time dependency of binutils
     62        not_implemented();
     63}
     64
    5265/** @}
    5366 */
  • uspace/lib/posix/sys/wait.h

    r823a929 re64b55a  
    3939
    4040extern posix_pid_t posix_wait(int *stat_ptr);
     41extern posix_pid_t posix_waitpid(posix_pid_t pid, int *stat_ptr, int options);
    4142
    4243#ifndef LIBPOSIX_INTERNAL
    4344        #define wait posix_wait
     45        #define waitpid posix_waitpid
    4446#endif
    4547
Note: See TracChangeset for help on using the changeset viewer.