MongooseWhere programmers kick back and build silly things together.

All help topics · Link to this topic

Showing help on 'file_type()'

Function: STR file_type(STR pathname)
STR file_type(FHANDLE fh)

Returns the type of the given pathname or handle, one of "reg",
"dir", "fifo", "block", "socket", or "unknown".

This is implemented using stat() or fstat().