rmdir.c revision 1
1N/A/*********************************************************************** 1N/A* This software is part of the ast package * 1N/A* Copyright (c) 1992-2011 AT&T Intellectual Property * 1N/A* and is licensed under the * 1N/A* Common Public License, Version 1.0 * 1N/A* by AT&T Intellectual Property * 1N/A* A copy of the License is available at * 1N/A* (with md5 checksum 059e8cd6165cb4c31e351f2b69388fd9) * 1N/A* Information and Software Systems Research * 1N/A* Glenn Fowler <gsf@research.att.com> * 1N/A* David Korn <dgk@research.att.com> * 1N/A***********************************************************************/ 1N/A"[-?\n@(#)$Id: rmdir (AT&T Research) 2006-08-24 $\n]" 1N/A"[+NAME?rmdir - remove empty directories]" 1N/A"[+DESCRIPTION?\brmdir\b deletes each given directory. The directory " 1N/A "must be empty; containing no entries other than \b.\b or \b..\b. " 1N/A "If a directory and a subdirectory of that directory are specified " 1N/A "as operands, the subdirectory must be specified before the parent " 1N/A "so that the parent directory will be empty when \brmdir\b attempts " 1N/A"[e:ignore-fail-on-non-empty?Ignore each non-empty directory failure.]" 1N/A"[p:parents?Remove each explicit \adirectory\a argument directory that " 1N/A "becomes empty after its child directories are removed.]" 1N/A"[s:suppress?Suppress the message printed on the standard error when " 1N/A "\b-p\b is in effect.]" 1N/A "[+0?All directories deleted successfully.]" 1N/A "[+>0?One or more directories could not be deleted.]" 1N/A"[+SEE ALSO?\bmkdir\b(1), \brm\b(1), \brmdir\b(2), \bunlink\b(2)]"