6 copyfd(endpoint_t endpt
, int fd
, int what
)
10 memset(&m
, 0, sizeof(m
));
11 m
.m_lsys_vfs_copyfd
.endpt
= endpt
;
12 m
.m_lsys_vfs_copyfd
.fd
= fd
;
13 m
.m_lsys_vfs_copyfd
.what
= what
;
15 return _taskcall(VFS_PROC_NR
, VFS_COPYFD
, &m
);