1 /* RCS $Id: dirbrk.c,v 1.1.1.1 2000-09-22 15:33:27 hr Exp $
4 -- Define the directory separator string.
7 -- Define this string for any character that may appear in a path name
8 -- and can be used as a directory separator.
11 -- Dennis Vadura, dvadura@dmake.wticorp.com
14 -- http://dmake.wticorp.com/
17 -- Copyright (c) 1996,1997 by WTI Corp. All rights reserved.
19 -- This program is NOT free software; you can redistribute it and/or
20 -- modify it under the terms of the Software License Agreement Provided
21 -- in the file <distribution-root>/readme/license.txt.
24 -- Use cvs log to obtain detailed change logs.
29 /* dos uses /, \, and : */
30 char* DirBrkStr
= "/\\:";
33 ** Return TRUE if the name is the full specification of a path name to a file
34 ** starting at the root of the file system, otherwise return FALSE
40 return( (strchr(DirBrkStr
, *name
) != NIL(char)) ||
41 (isalpha(*name
) && name
[1] == ':') );