Home
last modified time | relevance | path

Searched refs:newdirfd (Results 1 – 25 of 9635) sorted by relevance

12345678910>>...386

/dports/lang/zig-devel/zig-0.9.0/lib/libc/wasi/libc-bottom-half/sources/
H A Dat_fdcwd.c97 int linkat(int olddirfd, const char *oldpath, int newdirfd, const char *newpath, int flags) { in linkat() argument
99 (newdirfd == AT_FDCWD || newpath[0] == '/')) { in linkat()
103 return __wasilibc_link_newat(oldpath, newdirfd, newpath, flags); in linkat()
105 if (newdirfd == AT_FDCWD || newpath[0] == '/') { in linkat()
109 return __wasilibc_nocwd_linkat(olddirfd, oldpath, newdirfd, newpath, flags); in linkat()
112 int renameat(int olddirfd, const char *oldpath, int newdirfd, const char *newpath) { in renameat() argument
114 (newdirfd == AT_FDCWD || newpath[0] == '/')) { in renameat()
118 return __wasilibc_rename_newat(oldpath, newdirfd, newpath); in renameat()
120 if (newdirfd == AT_FDCWD || newpath[0] == '/') { in renameat()
124 return __wasilibc_nocwd_renameat(olddirfd, oldpath, newdirfd, newpath); in renameat()
/dports/devel/wasi-libc/wasi-libc-ad5133410f66b93a2381db5b542aad5e0964db96/libc-bottom-half/sources/
H A Dat_fdcwd.c97 int linkat(int olddirfd, const char *oldpath, int newdirfd, const char *newpath, int flags) { in linkat() argument
99 (newdirfd == AT_FDCWD || newpath[0] == '/')) { in linkat()
103 return __wasilibc_link_newat(oldpath, newdirfd, newpath, flags); in linkat()
105 if (newdirfd == AT_FDCWD || newpath[0] == '/') { in linkat()
109 return __wasilibc_nocwd_linkat(olddirfd, oldpath, newdirfd, newpath, flags); in linkat()
112 int renameat(int olddirfd, const char *oldpath, int newdirfd, const char *newpath) { in renameat() argument
114 (newdirfd == AT_FDCWD || newpath[0] == '/')) { in renameat()
118 return __wasilibc_rename_newat(oldpath, newdirfd, newpath); in renameat()
120 if (newdirfd == AT_FDCWD || newpath[0] == '/') { in renameat()
124 return __wasilibc_nocwd_renameat(olddirfd, oldpath, newdirfd, newpath); in renameat()
/dports/lang/zig/zig-0.9.0/lib/libc/wasi/libc-bottom-half/sources/
H A Dat_fdcwd.c97 int linkat(int olddirfd, const char *oldpath, int newdirfd, const char *newpath, int flags) { in linkat() argument
99 (newdirfd == AT_FDCWD || newpath[0] == '/')) { in linkat()
103 return __wasilibc_link_newat(oldpath, newdirfd, newpath, flags); in linkat()
105 if (newdirfd == AT_FDCWD || newpath[0] == '/') { in linkat()
109 return __wasilibc_nocwd_linkat(olddirfd, oldpath, newdirfd, newpath, flags); in linkat()
112 int renameat(int olddirfd, const char *oldpath, int newdirfd, const char *newpath) { in renameat() argument
114 (newdirfd == AT_FDCWD || newpath[0] == '/')) { in renameat()
118 return __wasilibc_rename_newat(oldpath, newdirfd, newpath); in renameat()
120 if (newdirfd == AT_FDCWD || newpath[0] == '/') { in renameat()
124 return __wasilibc_nocwd_renameat(olddirfd, oldpath, newdirfd, newpath); in renameat()
/dports/shells/ksh2020/ast-ksh2020/src/cmd/ksh93/bltins/
H A Dcd.c76 int newdirfd; in b_cd() local
210 if (newdirfd >= 0) { in b_cd()
212 rval = sh_fchdir(newdirfd); in b_cd()
215 shp->pwdfd = newdirfd; in b_cd()
218 sh_close(newdirfd); in b_cd()
221 rval = newdirfd; in b_cd()
235 if (newdirfd >= 0) { in b_cd()
237 rval = sh_fchdir(newdirfd); in b_cd()
240 shp->pwdfd = newdirfd; in b_cd()
243 sh_close(newdirfd); in b_cd()
[all …]
/dports/shells/ast-ksh/ast-ksh93v/src/cmd/ksh93/bltins/
H A Dcd_pwd.c82 int newdirfd; in b_cd() local
213 if(newdirfd >=0) in b_cd()
216 if((rval=fchdir(newdirfd)) >= 0) in b_cd()
220 shp->pwdfd=newdirfd; in b_cd()
223 sh_close(newdirfd); in b_cd()
238 rval = newdirfd = sh_diropenat(shp, shp->pwdfd, dir); in b_cd()
239 if(newdirfd >=0) in b_cd()
242 if((rval=fchdir(newdirfd)) >= 0) in b_cd()
246 shp->pwdfd=newdirfd; in b_cd()
249 sh_close(newdirfd); in b_cd()
[all …]
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/hw/9pfs/
H A D9p-handle.c325 int oldfd, newdirfd, ret; in handle_link() local
332 newdirfd = open_by_handle(data->mountfd, dirpath->data, O_PATH); in handle_link()
333 if (newdirfd < 0) { in handle_link()
335 return newdirfd; in handle_link()
337 ret = linkat(oldfd, "", newdirfd, name, AT_EMPTY_PATH); in handle_link()
338 close(newdirfd); in handle_link()
539 int olddirfd, newdirfd, ret; in handle_renameat() local
547 if (newdirfd < 0) { in handle_renameat()
549 return newdirfd; in handle_renameat()
551 ret = renameat(olddirfd, old_name, newdirfd, new_name); in handle_renameat()
[all …]
/dports/lang/zig-devel/zig-0.9.0/lib/libc/include/wasm-wasi-musl/wasi/
H A Dlibc.h54 int __wasilibc_link_newat(const char *oldpath, int newdirfd, const char *newpath, int flags)
58 int __wasilibc_rename_newat(const char *oldpath, int newdirfd, const char *newpath)
/dports/devel/wasi-libc/wasi-libc-ad5133410f66b93a2381db5b542aad5e0964db96/libc-bottom-half/headers/public/wasi/
H A Dlibc.h54 int __wasilibc_link_newat(const char *oldpath, int newdirfd, const char *newpath, int flags)
58 int __wasilibc_rename_newat(const char *oldpath, int newdirfd, const char *newpath)
/dports/lang/zig/zig-0.9.0/lib/libc/include/wasm-wasi-musl/wasi/
H A Dlibc.h54 int __wasilibc_link_newat(const char *oldpath, int newdirfd, const char *newpath, int flags)
58 int __wasilibc_rename_newat(const char *oldpath, int newdirfd, const char *newpath)
/dports/devel/patch/patch-2.7.6/src/
H A Dsafe.c599 int olddirfd, newdirfd; in safe_rename() local
609 newdirfd = traverse_another_path (&newpath, olddirfd); in safe_rename()
610 if (newdirfd < 0 && newdirfd != AT_FDCWD) in safe_rename()
611 return newdirfd; in safe_rename()
613 ret = renameat (olddirfd, oldpath, newdirfd, newpath); in safe_rename()
617 invalidate_cached_dirfd (newdirfd, newpath); in safe_rename()
/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/testing/selftests/openat2/
H A Dhelpers.c40 int newdirfd, const char *newpath, unsigned int flags) in sys_renameat2() argument
43 newdirfd, newpath, flags); in sys_renameat2()
/dports/multimedia/libv4l/linux-5.13-rc2/tools/testing/selftests/openat2/
H A Dhelpers.c40 int newdirfd, const char *newpath, unsigned int flags) in sys_renameat2() argument
43 newdirfd, newpath, flags); in sys_renameat2()
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/testing/selftests/openat2/
H A Dhelpers.c40 int newdirfd, const char *newpath, unsigned int flags) in sys_renameat2() argument
43 newdirfd, newpath, flags); in sys_renameat2()
/dports/lang/go-devel/go-becaeea1199b875bc24800fa88f2f4fea119bf78/src/syscall/
H A Dsyscall_linux_riscv64.go48 func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
49 return renameat2(olddirfd, oldpath, newdirfd, newpath, 0)
/dports/net/nncp/nncp-8.0.2/src/vendor/golang.org/x/sys/unix/
H A Dsyscall_linux_riscv64.go169 func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
170 return Renameat2(olddirfd, oldpath, newdirfd, newpath, 0)
/dports/devel/gh/cli-2.4.0/vendor/golang.org/x/sys/unix/
H A Dsyscall_linux_riscv64.go169 func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
170 return Renameat2(olddirfd, oldpath, newdirfd, newpath, 0)
/dports/lang/go-devel/go-becaeea1199b875bc24800fa88f2f4fea119bf78/src/cmd/vendor/golang.org/x/sys/unix/
H A Dsyscall_linux_riscv64.go169 func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
170 return Renameat2(olddirfd, oldpath, newdirfd, newpath, 0)
/dports/deskutils/pet/pet-0.4.0/vendor/golang.org/x/sys/unix/
H A Dsyscall_linux_riscv64.go169 func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
170 return Renameat2(olddirfd, oldpath, newdirfd, newpath, 0)
/dports/dns/prometheus-dnssec-exporter/prometheus-dnssec-exporter-caa7d89/vendor/golang.org/x/sys/unix/
H A Dsyscall_linux_riscv64.go169 func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
170 return Renameat2(olddirfd, oldpath, newdirfd, newpath, 0)
/dports/dns/dnscrypt-proxy2/dnscrypt-proxy-2.1.1/vendor/golang.org/x/sys/unix/
H A Dsyscall_linux_riscv64.go169 func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
170 return Renameat2(olddirfd, oldpath, newdirfd, newpath, 0)
/dports/www/gitea/gitea-1.16.5/vendor/golang.org/x/sys/unix/
H A Dsyscall_linux_riscv64.go168 func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
169 return Renameat2(olddirfd, oldpath, newdirfd, newpath, 0)
/dports/sysutils/chezmoi/chezmoi-2.9.3/vendor/golang.org/x/sys/unix/
H A Dsyscall_linux_riscv64.go169 func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
170 return Renameat2(olddirfd, oldpath, newdirfd, newpath, 0)
/dports/net/croc/croc-9.5.0/vendor/golang.org/x/sys/unix/
H A Dsyscall_linux_riscv64.go169 func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
170 return Renameat2(olddirfd, oldpath, newdirfd, newpath, 0)
/dports/net/cloudquery/cloudquery-0.16.0/vendor/golang.org/x/sys/unix/
H A Dsyscall_linux_riscv64.go169 func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
170 return Renameat2(olddirfd, oldpath, newdirfd, newpath, 0)
/dports/security/gopass/gopass-1.13.0/vendor/golang.org/x/sys/unix/
H A Dsyscall_linux_riscv64.go169 func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) {
170 return Renameat2(olddirfd, oldpath, newdirfd, newpath, 0)

12345678910>>...386