11 * See the License for the specific language governing permissions
12 * and limitations under the License.
13 *
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
19 *
20 * CDDL HEADER END
21 */
22 /* Copyright (c) 1988 AT&T */
23 /* All Rights Reserved */
24
25
26 /*
27 * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
28 * Use is subject to license terms.
29 */
30
31 #pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.2 */
32
33 /*LINTLIBRARY*/
34
35 #include <sys/types.h>
36 #include <stdlib.h>
37 #include "utility.h"
38
39 /* this code was taken from REGCMP(3X) */
40
41 #define SSIZE 16
42 #define TGRP 48
43 #define A256 02
44 #define ZERO 01
45 #define NBRA 10
46 #define CIRCFL 32;
47 #define SLOP 5
48 #define FEOF 0 /* This was originally EOF but it clashes with the header */
49 /* definition so it was changed to FEOF */
50
51 #define CBRA 60
|
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
13 *
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
19 *
20 * CDDL HEADER END
21 */
22 /* Copyright (c) 1988 AT&T */
23 /* All Rights Reserved */
24
25
26 /*
27 * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
28 * Use is subject to license terms.
29 */
30
31 /*
32 * Copyright (c) 2018, Joyent, Inc.
33 */
34
35 /*LINTLIBRARY*/
36
37 #include <sys/types.h>
38 #include <stdlib.h>
39 #include "utility.h"
40
41 /* this code was taken from REGCMP(3X) */
42
43 #define SSIZE 16
44 #define TGRP 48
45 #define A256 02
46 #define ZERO 01
47 #define NBRA 10
48 #define CIRCFL 32;
49 #define SLOP 5
50 #define FEOF 0 /* This was originally EOF but it clashes with the header */
51 /* definition so it was changed to FEOF */
52
53 #define CBRA 60
|