Changeset 408 for trunk/kernel/syscalls/syscalls.h
- Timestamp:
- Dec 5, 2017, 4:20:07 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/syscalls/syscalls.h
r407 r408 41 41 * terminating thread. 42 42 ****************************************************************************************** 43 * @ exit_vallue : pointer to be returned to parent thread if th ead is attached.43 * @ exit_vallue : pointer to be returned to parent thread if thread is attached. 44 44 * @ return 0 if success / return -1 if failure. 45 45 *****************************************************************************************/ … … 154 154 155 155 /****************************************************************************************** 156 * [10] This slot not allocated yet 157 ****************************************************************************************** 158 * @ return 0 if success / returns -1 if failure. 159 *****************************************************************************************/ 160 161 /****************************************************************************************** 162 * [11] This function rmove an existing mapping defined by the <addr> and <size> 156 * [10] This function implement the exit system call terminating a POSIX process. 157 ****************************************************************************************** 158 * @ status : terminaison status (not used in present implementation). 159 *****************************************************************************************/ 160 void sys_exit( uint32_t status ); 161 162 /****************************************************************************************** 163 * [11] This function remove an existing mapping defined by the <addr> and <size> 163 164 * arguments in user space. 164 165 ****************************************************************************************** … … 194 195 * [14] This function read bytes from an open file identified by its file descriptor. 195 196 * The file can be a regular file or character oriented device. 197 * IRQs are enabled during this system call. 196 198 ****************************************************************************************** 197 199 * @ file_id : open file index in fd_array. … … 207 209 * [15] This function writes bytes to an open file identified by its file descriptor. 208 210 * The file can be a regular file or character oriented device. 211 * IRQs are enabled during this system call. 209 212 ****************************************************************************************** 210 213 * @ file_id : open file index in fd_array.
Note: See TracChangeset
for help on using the changeset viewer.