"Fossies" - the Fresh Open Source Software Archive

Member "usr/share/doc/cygwin-api/func-cygwin-posix-path-list-p.html" (19 Aug 2019, 2759 Bytes) of package /windows/misc/cygwin-20190819-x86.tar.xz:

Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links. You can here alternatively try to browse the pure source code or just view or download the uninterpreted raw source code. If the rendering is insufficient you may try to find and view the page on the project site itself.




#include <sys/cygwin.h>

int cygwin_posix_path_list_p(const char *path);


This function tells you if the supplied path is a POSIX-style path (i.e. posix names, forward slashes, colon delimiters) or a Win32-style path (drive letters, reverse slashes, semicolon delimiters. The return value is true if the path is a POSIX path. Note that "_p" means "predicate", a lisp term meaning that the function tells you something about the parameter.