'\" t .\" Title: gfs_rmdir .\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author] .\" Generator: DocBook XSL Stylesheets vsnapshot .\" Date: 23 Jun 2019 .\" Manual: Gfarm .\" Source: Gfarm .\" Language: English .\" .TH "GFS_RMDIR" "3" "23 Jun 2019" "Gfarm" "Gfarm" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" gfs_rmdir \- delete a directory .SH "SYNOPSIS" .sp .ft B .nf #include .fi .ft .HP \w'gfarm_error_t\ gfs_rmdir('u .BI "gfarm_error_t\ gfs_rmdir(const\ char\ *\ " "gfarm_url" ");" .SH "DESCRIPTION" .PP \fBgfs_rmdir()\fR deletes a directory whose name is the string specified by \fIgfarm_url\fR\&. The directory must be empty\&. .SH "RETURN VALUES" .PP \fBGFARM_ERR_NO_ERROR\fR .RS 4 The function terminated successfully\&. .RE .PP \fBGFARM_ERR_NO_MEMORY\fR .RS 4 Insufficient memory was available\&. .RE .PP \fBGFARM_ERR_PERMISSION_DENIED\fR .RS 4 \fIgfarm_url\fR points outside your accessible address space\&. .RE .PP \fBGFARM_ERR_DIRECTORY_NOT_EMPTY\fR .RS 4 Directory is not empty\&. .RE .PP \fBGFARM_ERR_NO_SUCH_OBJECT\fR .RS 4 Directory does not exist\&. .RE .PP \fBGFARM_ERR_NOT_A_DIRECTORY\fR .RS 4 A component of the path prefix is not a directory\&. .RE .PP Others .RS 4 An error except the above occurred\&. The reason is shown by \fBgfarm_error_string\fR(3)\&. .RE