wcschr.c (76683) | wcschr.c (77117) |
---|---|
1/* $NetBSD: wcschr.c,v 1.1 2000/12/23 23:14:36 itojun Exp $ */ 2 | |
3/*- 4 * Copyright (c)1999 Citrus Project, 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions 9 * are met: 10 * 1. Redistributions of source code must retain the above copyright --- 10 unchanged lines hidden (view full) --- 21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26 * SUCH DAMAGE. 27 * 28 * citrus Id: wcschr.c,v 1.2 2000/12/21 05:07:25 itojun Exp | 1/*- 2 * Copyright (c)1999 Citrus Project, 3 * 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 --- 10 unchanged lines hidden (view full) --- 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * 26 * citrus Id: wcschr.c,v 1.2 2000/12/21 05:07:25 itojun Exp |
29 * 30 * $FreeBSD: head/lib/libc/string/wcschr.c 76683 2001-05-16 14:34:47Z ru $ | |
31 */ 32 33#include <sys/cdefs.h> 34#if defined(LIBC_SCCS) && !defined(lint) 35__RCSID("$NetBSD: wcschr.c,v 1.1 2000/12/23 23:14:36 itojun Exp $"); 36#endif /* LIBC_SCCS and not lint */ | 27 */ 28 29#include <sys/cdefs.h> 30#if defined(LIBC_SCCS) && !defined(lint) 31__RCSID("$NetBSD: wcschr.c,v 1.1 2000/12/23 23:14:36 itojun Exp $"); 32#endif /* LIBC_SCCS and not lint */ |
33#ifndef lint 34static const char rcsid[] = 35 "$FreeBSD: head/lib/libc/string/wcschr.c 77117 2001-05-24 08:47:42Z obrien $"; 36#endif |
|
37 38#include <assert.h> 39#include <wchar.h> 40 41wchar_t * 42wcschr(s, c) 43 const wchar_t *s; 44 wchar_t c; --- 13 unchanged lines hidden --- | 37 38#include <assert.h> 39#include <wchar.h> 40 41wchar_t * 42wcschr(s, c) 43 const wchar_t *s; 44 wchar_t c; --- 13 unchanged lines hidden --- |