Changeset 611 for trunk/kernel/syscalls/syscalls.h
- Timestamp:
- Jan 9, 2019, 3:02:51 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/syscalls/syscalls.h
r610 r611 328 328 /****************************************************************************************** 329 329 * [23] This function open a directory, that must exist in the file system, returning 330 * a DIR pointer on the dire ctory in user space.331 ****************************************************************************************** 332 * @ pathname : pathname (can be relative or absolute).330 * a DIR pointer on the dirent array in user space. 331 ****************************************************************************************** 332 * @ pathname : [in] pathname (can be relative or absolute). 333 333 * @ dirp : [out] buffer for pointer on user directory (DIR). 334 334 * @ return 0 if success / returns -1 if failure. … … 341 341 * next directory entry in the directory identified by the <dirp> argument. 342 342 ****************************************************************************************** 343 * @ dirp : user pointer identifying the searcheddirectory.344 * @ dentp : [out] buffer for pointer on user direntory entry (dirent).343 * @ dirp : [in] user pointer on dirent array identifying the open directory. 344 * @ buffer : [out] pointer on user buffer for a pointer on dirent in user space. 345 345 * @ return O if success / returns -1 if failure. 346 346 *****************************************************************************************/ 347 347 int sys_readdir( DIR * dirp, 348 struct dirent ** dentp);348 struct dirent ** buffer ); 349 349 350 350 /****************************************************************************************** … … 352 352 * all structures associated with the <dirp> pointer. 353 353 ****************************************************************************************** 354 * @ dirp : user pointer identifying thedirectory.354 * @ dirp : [in] user pointer on dirent array identifying the open directory. 355 355 * @ return 0 if success / returns -1 if failure. 356 356 *****************************************************************************************/ … … 575 575 * [43] This debug function displays on the kernel terminal TXT0 an user defined string, 576 576 * or the current state of a kernel structure, identified by the <type> argument. 577 * The <arg0> and <arg1> arguments depends on the structure type:577 * The <arg0>, <arg1>, and <arg2> arguments depends on the structure type: 578 578 * - DISPLAY_STRING : an user defined string 579 579 * - DISPLAY_VMM : VSL and GPT for a process identified by <pid>. … … 583 583 * - DISPLAY_VFS : all files registered in the VFS cache. 584 584 * - DISPLAY_CHDEV : all registered channel devices. 585 * - DISPLAY_DQDT : all DQDT nodes. 585 * - DISPLAY_DQDT : all DQDT nodes curren values. 586 * - DISPLAY_BUSYLOCKS : all busylocks taken by one thread. 587 * - DISPLAY_MAPPER : one page of a given mapper. 586 588 ****************************************************************************************** 587 589 * type : [in] type of display 588 590 * arg0 : [in] type dependant argument. 589 591 * arg1 : [in] type dependant argument. 592 * arg2 : [in] type dependant argument. 590 593 * @ return 0 if success / return -1 if illegal arguments 591 594 *****************************************************************************************/ 592 595 int sys_display( reg_t type, 593 596 reg_t arg0, 594 reg_t arg1 ); 597 reg_t arg1, 598 reg_t arg2 ); 595 599 596 600 /******************************************************************************************
Note: See TracChangeset
for help on using the changeset viewer.