Lines Matching defs:RawFd
362 pub fn dup(oldfd: RawFd) -> Result<RawFd> { in dup()
375 pub fn dup2(oldfd: RawFd, newfd: RawFd) -> Result<RawFd> { in dup2()
386 pub fn dup3(oldfd: RawFd, newfd: RawFd, flags: OFlag) -> Result<RawFd> { in dup3()
391 fn dup3_polyfill(oldfd: RawFd, newfd: RawFd, flags: OFlag) -> Result<RawFd> { in dup3_polyfill()
528 pub fn mkfifoat<P: ?Sized + NixPath>(dirfd: Option<RawFd>, path: &P, mode: Mode) -> Result<()> { in mkfifoat()
548 dirfd: Option<RawFd>, in symlinkat()
663 pub fn fchown(fd: RawFd, owner: Option<Uid>, group: Option<Gid>) -> Result<()> { in fchown()
699 dirfd: Option<RawFd>, in fchownat()
824 pub fn fexecve<SA: AsRef<CStr> ,SE: AsRef<CStr>>(fd: RawFd, args: &[SA], env: &[SE]) -> Result<Infa… in fexecve()
847 pub fn execveat<SA: AsRef<CStr>,SE: AsRef<CStr>>(dirfd: RawFd, pathname: &CStr, args: &[SA], in execveat()
991 pub fn read(fd: RawFd, buf: &mut [u8]) -> Result<usize> { in read()
1000 pub fn write(fd: RawFd, buf: &[u8]) -> Result<usize> { in write()
1036 pub fn lseek(fd: RawFd, offset: off_t, whence: Whence) -> Result<off_t> { in lseek()
1043 pub fn lseek64(fd: RawFd, offset: libc::off64_t, whence: Whence) -> Result<libc::off64_t> { in lseek64()
1083 pub fn pipe2(flags: OFlag) -> Result<(RawFd, RawFd)> { in pipe2() argument
1114 pub fn ftruncate(fd: RawFd, len: off_t) -> Result<()> { in ftruncate()
1155 olddirfd: Option<RawFd>, in linkat()
1157 newdirfd: Option<RawFd>, in linkat()
1217 dirfd: Option<RawFd>, in unlinkat()
1758 pub fn mkstemp<P: ?Sized + NixPath>(template: &P) -> Result<(RawFd, PathBuf)> { in mkstemp()
1890 pub fn fpathconf(fd: RawFd, var: PathconfVar) -> Result<Option<c_long>> { in fpathconf()