mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-18 12:16:31 +00:00
add ipc pipe (#28)
This commit is contained in:
@ -15,4 +15,9 @@ int mkdir(const char *path, mode_t mode)
|
||||
int mstat(struct mstat_t *stat)
|
||||
{
|
||||
return syscall_invoke(SYS_MSTAT, (uint64_t)stat, 0, 0, 0, 0, 0, 0, 0);
|
||||
}
|
||||
|
||||
int pipe(int *fd)
|
||||
{
|
||||
return syscall_invoke(SYS_PIPE, (uint64_t)fd, 0, 0,0,0,0,0,0);
|
||||
}
|
@ -24,4 +24,5 @@ int mkdir(const char *path, mode_t mode);
|
||||
* @param stat 传入的内存信息结构体
|
||||
* @return int 错误码
|
||||
*/
|
||||
int mstat(struct mstat_t* stat);
|
||||
int mstat(struct mstat_t* stat);
|
||||
int pipe(int *fd);
|
Reference in New Issue
Block a user