Home
Software
Utilities
About
Reader (ftype.h)
https://centaur.pw/software/m18/ftype.h
[
Direct Link
]
/* Centaur M18 * 2/24/2026 * Version 1.0 * Jon Siragusa <jon@centaur.pw> * https://www.centaur.pw/ * * Copyright (C) Centaur, 2026. All Rights Reserved. * * int ftype(char file[]) -- returns FTYPE_FILE if file is a regular file, * FTYPE_DIR if file is a directory, or FTYPE_NONE if * file does not exist or is not readable * * 'file' is a path to a file * * ftype.h */ #ifndef FTYPE_H #define FTYPE_H enum { FTYPE_DIR, FTYPE_FILE, FTYPE_NONE }; extern int ftype(char file[]); #endif /* FTYPE_H */