std-rmdir


Synopsis

(std-rmdir <fname>)

Description

std-rmdir removes an empty directory. It returns T on success and nil on any failure or error. e.g. if the filename contains wildcards, the directory is not empty or any other failure.

Examples

(std-rmdir "/mydir")  => T

Arguments

fname: a string. A partial or fully qualified filename specifier.

Return Value

T or nil.

Side Effects

A directory will be removed.

Module

(std-require 'STDFILE)

Defined in STDFILE