Searched refs:rmdir (Results 1 - 25 of 96) sorted by relevance

1234

/haiku-fatelf/src/bin/coreutils/man/
H A Drmdir.x2 rmdir \- remove empty directories
6 rmdir(2)
/haiku-fatelf/src/bin/coreutils/lib/
H A Dremove.c34 /* It is faster to just try rmdir, and fall back on unlink, than it
36 it is more likely that we want unlink, not rmdir, but we cannot
38 bugs are handled by our rmdir and unlink wrappers. */
39 int result = rmdir (name);
H A Drmdir.c1 /* Work around rmdir bugs.
28 #undef rmdir macro
37 /* Work around cygwin 1.5.x bug where rmdir("dir/./") succeeds. */
47 result = rmdir (dir);
48 /* Work around mingw bug, where rmdir("file/") fails with EINVAL
56 /* rmdir adapted from GNU tar. FIXME: Delete this implementation in
57 2010 if no one reports a system with missing rmdir. */
78 execl ("/bin/rmdir", "rmdir", dir, (char *) 0);
91 /* /bin/rmdir faile
[all...]
H A Dunlinkat.c43 /* rmdir behavior has no problems with trailing slash. */
85 First, try to simulate it via (unlink|rmdir) ("/proc/self/fd/FD/FILE").
86 Failing that, simulate it via save_cwd/fchdir/(unlink|rmdir)/restore_cwd.
92 # define AT_FUNC_F1 rmdir
H A Drename.c162 if (rmdir (dst))
455 if (rmdir (dst))
H A Dunistd.in.h791 # define rmdir rpl_rmdir macro
793 extern int rmdir (char const *name) _GL_ARG_NONNULL ((1));
796 # undef rmdir macro
797 # define rmdir(n) \ macro
798 (GL_LINK_WARNING ("rmdir is unportable - " \
799 "use gnulib module rmdir for portability"), \
800 rmdir (n))
/haiku-fatelf/src/bin/gdb/
H A Dmkinstalldirs85 test -d ./-p && rmdir ./-p
86 test -d ./--version && rmdir ./--version
98 test -d $d && rmdir $d
/haiku-fatelf/src/libs/print/libgutenprint/scripts/
H A Dmkinstalldirs88 test -d ./-p && rmdir ./-p
89 test -d ./--version && rmdir ./--version
101 test -d $d && rmdir $d
H A Dcompile120 trap "rmdir '$lockdir'; exit 1" 1 2 15
132 rmdir "$lockdir"
H A Dinstall-sh342 trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
365 rmdir "$tmpdir/d" "$tmpdir"
368 rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
/haiku-fatelf/src/libs/print/libgutenprint/src/cups/
H A DMakefile.am167 -@echo 'Expect a number of "rmdir: Directory not empty" warnings'
169 -rmdir $(DESTDIR)$(cups_modeldir)
170 -rmdir $(DESTDIR)$(pkgdatadir)
171 -rmdir $(DESTDIR)$(cupsexec_driverdir)
172 -rmdir $(DESTDIR)$(cupsexec_filterdir)
173 -rmdir $(DESTDIR)$(bindir)
174 -rmdir $(DESTDIR)$(pkglibdir)
175 -rmdir $(DESTDIR)$(pkgsysconfdir)
176 -rmdir `dirname $(DESTDIR)$(pkgdatadir)`
177 -rmdir `dirnam
[all...]
/haiku-fatelf/src/system/libroot/posix/unistd/
H A Ddirectory.c59 rmdir(const char *path) function
/haiku-fatelf/src/tests/system/libroot/posix/bonnie++-1.03d/
H A Dport.h31 #define rmdir(XX) { DosDeleteDir(XX); } macro
H A Dbon_file.cpp74 if(rmdir(buf))
75 io_error("rmdir");
78 if(chdir("..") || rmdir(m_dirname))
79 io_error("rmdir");
383 if(rmdir(buf))
385 io_error("rmdir");
397 if(chdir("..") || rmdir(m_dirname))
399 io_error("rmdir");
487 if(chdir("..") || rmdir(buf))
489 io_error("rmdir");
[all...]
/haiku-fatelf/src/bin/coreutils/src/
H A Drmdir.c0 /* rmdir -- remove directories
36 #define PROGRAM_NAME "rmdir"
73 with a failed rmdir due to non-empty target directory. */
80 /* Return true if when rmdir fails with errno == ERROR_NUMBER
98 /* Return true if an rmdir failure with errno == error_number
136 ok = (rmdir (dir) == 0);
174 -p, --parents remove DIRECTORY and its ancestors; e.g., `rmdir -p a/b/c' is\n\
175 similar to `rmdir a/b/c a/b a'\n\
235 if (rmdir (dir) != 0)
/haiku-fatelf/src/bin/network/wget/build-aux/
H A Dcompile121 trap "rmdir '$lockdir'; exit 1" 1 2 15
133 rmdir "$lockdir"
H A Dinstall-sh342 trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
365 rmdir "$tmpdir/d" "$tmpdir"
368 rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
/haiku-fatelf/headers/private/userlandfs/fuse/
H A Dfuse_compat.h19 int (*rmdir) (const char *); member in struct:fuse_operations_compat25
78 int (*rmdir) (const char *); member in struct:fuse_operations_compat22
129 int (*rmdir) (const char *); member in struct:fuse_operations_compat2
177 int (*rmdir) (const char *); member in struct:fuse_operations_compat1
/haiku-fatelf/src/add-ons/print/drivers/pdf/source/
H A DImageCache.cpp61 rmdir(kCachePath);
/haiku-fatelf/src/tests/kits/storage/testapps/
H A DPathMonitorTest.cpp98 rmdir(path);
/haiku-fatelf/src/bin/network/wget/md5/
H A DMakefile.am190 echo "rmdir $$dir"; rmdir $$dir; \
/haiku-fatelf/src/bin/network/wget/msdos/
H A DMakefile.DJ74 - rmdir $(OBJ_DIR)
H A DMakefile.WC67 - rmdir $(OBJ_DIR)
/haiku-fatelf/src/bin/findutils/gnulib/lib/
H A Dopenat.c250 First, try to simulate it via (unlink|rmdir) ("/proc/self/fd/FD/FILE").
251 Failing that, simulate it via save_cwd/fchdir/(unlink|rmdir)/restore_cwd.
257 #define AT_FUNC_F1 rmdir
/haiku-fatelf/src/tools/
H A Drm_attrs.cpp162 if (rmdir(path.GetPath()) < 0) {

Completed in 137 milliseconds

1234