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) |
36static char sccsid[] = "@(#)strncmp.c 8.1 (Berkeley) 6/4/93"; |
37__RCSID("$NetBSD$"); |
38#endif /* LIBC_SCCS and not lint */ |
39__FBSDID("$FreeBSD: head/lib/libc/string/wcsncmp.c 86170 2001-11-07 19:55:16Z obrien $"); |
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 --- |