GFS_RMDIR(3)
π GFS_RMDIR(3) β the Gfarm manual, bestie edition π
okay so this is a page from the Gfarm manual, section 3 (that's the library-functions girlies π«Ά), and today we're talking about gfs_rmdir. yes, it does exactly what you think. no cap.
β¨ NAME β¨
gfs_rmdir β delete a directory π
πΈ SYNOPSIS πΈ
#include <gfarm/gfarm.h>
gfarm_error_t gfs_rmdir(const char * gfarm_url);
like. look at her. one header, one function, one const char *. iconic behavior honestly.
π¦ DESCRIPTION π¦
gfs_rmdir() deletes a directory whose name is the string specified by gfarm_url.
and bestie. listen. the directory must be empty. that's not a suggestion, that's the vibe check, and if it fails the vibe check it will simply not go. π
π RETURN VALUES π
okay so this function returns a gfarm_error_t and here's the whole roster, no skipping, we don't do that here:
GFARM_ERR_NO_ERRORβ the function terminated successfully. slay. she ate. πGFARM_ERR_NO_MEMORYβ insufficient memory was available. the computer is going through it rn πGFARM_ERR_PERMISSION_DENIEDβgfarm_urlpoints outside your accessible address space. not yours, not your business πGFARM_ERR_DIRECTORY_NOT_EMPTYβ directory is not empty. told you bestie. empty it first. π§ΉGFARM_ERR_NO_SUCH_OBJECTβ directory does not exist. she's not there. she was never there. πGFARM_ERR_NOT_A_DIRECTORYβ a component of the path prefix is not a directory. something in the path is givingβ¦ not a directory. π- Others β an error except the above occurred. the reason is shown by
gfarm_error_string(3). so go read that one, iykyk. π
fr fr: if you get anything that isn'tGFARM_ERR_NO_ERROR, go hit upgfarm_error_string(3)and it'll tell you what's up.
π« SEE ALSO π«
gfarm_error_string(3)
that's the whole page bestie, mwah π
with love from the Gfarm girlies, dated 23 Jun 2019 β stay empty, stay deletable, stay slaying β¨ππ
π¦ where this page comes from
- debian bookworm: libgfarm-dev 2.7.20+dfsg-1+b2 Β· BSD-like
- debian trixie: libgfarm-dev 2.7.20+dfsg-1.2+b1 Β· BSD-like
- ubuntu jammy: libgfarm-dev 2.7.17+dfsg-1build2 Β· BSD-like
- ubuntu noble: libgfarm-dev 2.7.20+dfsg-1.1ubuntu1 Β· BSD-like
- ubuntu questing: libgfarm-dev 2.7.20+dfsg-1.2
- ubuntu resolute: libgfarm-dev 2.7.20+dfsg-1.3 Β· BSD-like
- ubuntu stonking: libgfarm-dev 2.7.20+dfsg-1.3build1 Β· BSD-like
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms