components/pcre/llib-lpcre
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Mon, 11 Mar 2013 10:38:09 -0700
branchs11-update
changeset 2520 ceec631e74d1
parent 230 d6efadb643f7
permissions -rw-r--r--
Close of build 10.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
230
d6efadb643f7 7042700 move pcre from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
     1
/*
d6efadb643f7 7042700 move pcre from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
     2
 * CDDL HEADER START
d6efadb643f7 7042700 move pcre from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
     3
 *
d6efadb643f7 7042700 move pcre from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
     4
 * The contents of this file are subject to the terms of the
d6efadb643f7 7042700 move pcre from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
     5
 * Common Development and Distribution License (the "License").
d6efadb643f7 7042700 move pcre from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
     6
 * You may not use this file except in compliance with the License.
d6efadb643f7 7042700 move pcre from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
     7
 *
d6efadb643f7 7042700 move pcre from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
     8
 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
d6efadb643f7 7042700 move pcre from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
     9
 * or http://www.opensolaris.org/os/licensing.
d6efadb643f7 7042700 move pcre from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    10
 * See the License for the specific language governing permissions
d6efadb643f7 7042700 move pcre from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    11
 * and limitations under the License.
d6efadb643f7 7042700 move pcre from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    12
 *
d6efadb643f7 7042700 move pcre from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    13
 * When distributing Covered Code, include this CDDL HEADER in each
d6efadb643f7 7042700 move pcre from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    14
 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
d6efadb643f7 7042700 move pcre from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    15
 * If applicable, add the following below this CDDL HEADER, with the
d6efadb643f7 7042700 move pcre from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    16
 * fields enclosed by brackets "[]" replaced with your own identifying
d6efadb643f7 7042700 move pcre from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    17
 * information: Portions Copyright [yyyy] [name of copyright owner]
d6efadb643f7 7042700 move pcre from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    18
 *
d6efadb643f7 7042700 move pcre from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    19
 * CDDL HEADER END
d6efadb643f7 7042700 move pcre from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    20
 */
d6efadb643f7 7042700 move pcre from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    21
d6efadb643f7 7042700 move pcre from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    22
/* 
d6efadb643f7 7042700 move pcre from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    23
 * Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved.
d6efadb643f7 7042700 move pcre from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    24
 */
d6efadb643f7 7042700 move pcre from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    25
d6efadb643f7 7042700 move pcre from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    26
/* LINTLIBRARY */
d6efadb643f7 7042700 move pcre from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    27
/* PROTOLIB1 */
d6efadb643f7 7042700 move pcre from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    28
d6efadb643f7 7042700 move pcre from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    29
/*
d6efadb643f7 7042700 move pcre from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    30
 * This little dance is necessary to avoid ftello/fseeko
d6efadb643f7 7042700 move pcre from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    31
 * complaints vs libc. We don't use them but we do #include
d6efadb643f7 7042700 move pcre from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    32
 * stdio.h and as we are large file aware they get defined
d6efadb643f7 7042700 move pcre from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    33
 * differently than libc.
d6efadb643f7 7042700 move pcre from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    34
 */
d6efadb643f7 7042700 move pcre from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    35
#include <sys/types.h>
d6efadb643f7 7042700 move pcre from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    36
#include <pcre.h>
d6efadb643f7 7042700 move pcre from SFW to userland
April Chin <april.chin@oracle.com>
parents:
diff changeset
    37