Changeset 925a21e in mainline for uspace/lib/posix/sys/wait.h
- Timestamp:
- 2011-09-24T14:20:29Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5bf76c1
- Parents:
- 867e2555 (diff), 1ab4aca (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/sys/wait.h
r867e2555 r925a21e 1 1 /* 2 * Copyright (c) 20 06 Ondrej Palkovsky2 * Copyright (c) 2011 Petr Koupy 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup lib cipc29 /** @addtogroup libposix 30 30 * @{ 31 31 */ 32 /** @file 32 /** @file Support for waiting. 33 33 */ 34 34 35 #ifndef LIBC_FB_H_36 #define LIBC_FB_H_35 #ifndef POSIX_SYS_WAIT_H_ 36 #define POSIX_SYS_WAIT_H_ 37 37 38 #include <ipc/common.h>38 #include "types.h" 39 39 40 typedef enum { 41 FB_PUTCHAR = IPC_FIRST_USER_METHOD, 42 FB_CLEAR, 43 FB_GET_CSIZE, 44 FB_GET_COLOR_CAP, 45 FB_CURSOR_VISIBILITY, 46 FB_CURSOR_GOTO, 47 FB_SCROLL, 48 FB_VIEWPORT_SWITCH, 49 FB_VIEWPORT_CREATE, 50 FB_VIEWPORT_DELETE, 51 FB_SET_STYLE, 52 FB_SET_COLOR, 53 FB_SET_RGB_COLOR, 54 FB_GET_RESOLUTION, 55 FB_DRAW_TEXT_DATA, 56 FB_FLUSH, 57 FB_DRAW_PPM, 58 FB_PREPARE_SHM, 59 FB_DROP_SHM, 60 FB_SHM2PIXMAP, 61 FB_VP_DRAW_PIXMAP, 62 FB_VP2PIXMAP, 63 FB_DROP_PIXMAP, 64 FB_ANIM_CREATE, 65 FB_ANIM_DROP, 66 FB_ANIM_ADDPIXMAP, 67 FB_ANIM_CHGVP, 68 FB_ANIM_START, 69 FB_ANIM_STOP, 70 FB_POINTER_MOVE, 71 FB_SCREEN_YIELD, 72 FB_SCREEN_RECLAIM 73 } fb_request_t; 40 #undef WIFEXITED 41 #undef WEXITSTATUS 42 #undef WIFSIGNALED 43 #undef WTERMSIG 44 #define WIFEXITED(status) __posix_wifexited(status) 45 #define WEXITSTATUS(status) __posix_wexitstatus(status) 46 #define WIFSIGNALED(status) __posix_wifsignaled(status) 47 #define WTERMSIG(status) __posix_wtermsig(status) 74 48 75 enum { 76 FB_CCAP_NONE = 0, 77 FB_CCAP_STYLE, 78 FB_CCAP_INDEXED, 79 FB_CCAP_RGB 80 }; 49 extern int __posix_wifexited(int status); 50 extern int __posix_wexitstatus(int status); 51 extern int __posix_wifsignaled(int status); 52 extern int __posix_wtermsig(int status); 81 53 54 extern posix_pid_t posix_wait(int *stat_ptr); 55 extern posix_pid_t posix_waitpid(posix_pid_t pid, int *stat_ptr, int options); 56 57 #ifndef LIBPOSIX_INTERNAL 58 #define wait posix_wait 59 #define waitpid posix_waitpid 82 60 #endif 61 62 #endif /* POSIX_SYS_WAIT_H_ */ 83 63 84 64 /** @}
Note:
See TracChangeset
for help on using the changeset viewer.