Deleted Added
full compact
string.h (189132) string.h (189133)
1/*-
2 * Copyright (c) 1990, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 17 unchanged lines hidden (view full) ---

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)string.h 8.1 (Berkeley) 6/2/93
1/*-
2 * Copyright (c) 1990, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 17 unchanged lines hidden (view full) ---

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * @(#)string.h 8.1 (Berkeley) 6/2/93
34 * $FreeBSD: head/include/string.h 189132 2009-02-28 05:08:35Z das $
34 * $FreeBSD: head/include/string.h 189133 2009-02-28 05:15:02Z das $
35 */
36
37#ifndef _STRING_H_
38#define _STRING_H_
39
40#include <sys/cdefs.h>
41#include <sys/_null.h>
42#include <sys/_types.h>

--- 37 unchanged lines hidden (view full) ---

80#if __POSIX_VISIBLE >= 200112 || __XSI_VISIBLE
81char *strdup(const char *) __malloc_like;
82#endif
83char *strerror(int);
84#if __POSIX_VISIBLE >= 200112
85int strerror_r(int, char *, size_t);
86#endif
87#if __BSD_VISIBLE
35 */
36
37#ifndef _STRING_H_
38#define _STRING_H_
39
40#include <sys/cdefs.h>
41#include <sys/_null.h>
42#include <sys/_types.h>

--- 37 unchanged lines hidden (view full) ---

80#if __POSIX_VISIBLE >= 200112 || __XSI_VISIBLE
81char *strdup(const char *) __malloc_like;
82#endif
83char *strerror(int);
84#if __POSIX_VISIBLE >= 200112
85int strerror_r(int, char *, size_t);
86#endif
87#if __BSD_VISIBLE
88size_t strlcat(char *, const char *, size_t);
89size_t strlcpy(char *, const char *, size_t);
88size_t strlcat(char * __restrict, const char * __restrict, size_t);
89size_t strlcpy(char * __restrict, const char * __restrict, size_t);
90#endif
91size_t strlen(const char *) __pure;
92#if __BSD_VISIBLE
93void strmode(int, char *);
94#endif
95char *strncat(char * __restrict, const char * __restrict, size_t);
96int strncmp(const char *, const char *, size_t) __pure;
97char *strncpy(char * __restrict, const char * __restrict, size_t);

--- 34 unchanged lines hidden ---
90#endif
91size_t strlen(const char *) __pure;
92#if __BSD_VISIBLE
93void strmode(int, char *);
94#endif
95char *strncat(char * __restrict, const char * __restrict, size_t);
96int strncmp(const char *, const char *, size_t) __pure;
97char *strncpy(char * __restrict, const char * __restrict, size_t);

--- 34 unchanged lines hidden ---