wcsncmp.c (77117) | wcsncmp.c (86170) |
---|---|
1/* 2 * Copyright (c) 1989, 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 --- 19 unchanged lines hidden (view full) --- 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 34#include <sys/cdefs.h> 35#if defined(LIBC_SCCS) && !defined(lint) | 1/* 2 * Copyright (c) 1989, 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 --- 19 unchanged lines hidden (view full) --- 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 34#include <sys/cdefs.h> 35#if defined(LIBC_SCCS) && !defined(lint) |
36#if 0 | |
37static char sccsid[] = "@(#)strncmp.c 8.1 (Berkeley) 6/4/93"; | 36static char sccsid[] = "@(#)strncmp.c 8.1 (Berkeley) 6/4/93"; |
38#else | |
39__RCSID("$NetBSD$"); | 37__RCSID("$NetBSD$"); |
40#endif | |
41#endif /* LIBC_SCCS and not lint */ | 38#endif /* LIBC_SCCS and not lint */ |
42#ifndef lint 43static const char rcsid[] = 44 "$FreeBSD: head/lib/libc/string/wcsncmp.c 77117 2001-05-24 08:47:42Z obrien $"; 45#endif | 39__FBSDID("$FreeBSD: head/lib/libc/string/wcsncmp.c 86170 2001-11-07 19:55:16Z obrien $"); |
46 47#include <assert.h> 48#include <wchar.h> 49 50int 51wcsncmp(s1, s2, n) 52 const wchar_t *s1, *s2; 53 size_t n; --- 15 unchanged lines hidden --- | 40 41#include <assert.h> 42#include <wchar.h> 43 44int 45wcsncmp(s1, s2, n) 46 const wchar_t *s1, *s2; 47 size_t n; --- 15 unchanged lines hidden --- |