base/fs/m_fs.c
/* Requires the dir to be empty. Will fail if empty. */
Requires the dir to be empty. Will fail if empty.
Requires the dir to be empty . Will fail if empty .
static M_fs_error_t M_fs_delete_dir(const char *path)
{
	if (rmdir(path) != 0) {
		return M_fs_error_from_syserr(errno);
	}
	return M_FS_ERROR_SUCCESS;
}
static M_fs_error_t M_fs_delete_dir ( const char * path ) { if ( rmdir ( path ) != 0 ) { return M_fs_error_from_syserr ( errno ) ; } return M_FS_ERROR_SUCCESS ; }
Requires the dir to be empty.
Requires the dir to be empty .