source: trunk/third/sysinfo/strutil.h @ 12269

Revision 12269, 548 bytes checked in by ghudson, 26 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r12268, which included commits to RCS files with non-trunk default branches.
Line 
1/*
2 * Copyright (c) 1992-1998 Michael A. Cooper.
3 * This software may be freely used and distributed provided it is not sold
4 * for profit or used for commercial gain and the author is credited
5 * appropriately.
6 */
7
8/*
9 * $Revision: 1.1.1.1 $
10 *
11 * String utility header
12 */
13
14/*
15 * Are flags f set in b?
16 */
17#ifndef FLAGS_ON
18#define FLAGS_ON(b,f)           ((b != 0) && (b & f))
19#endif
20#ifndef FLAGS_OFF
21#define FLAGS_OFF(b,f)          ((b == 0) || ((b != 0) && !(b & f)))
22#endif
23
24/*
25 * StrToArgv
26 */
27#define STRTO_SKIPRP            0x01            /* Skip repeating sep chars */
28
Note: See TracBrowser for help on using the repository browser.