Deleted Added
full compact
wcslcpy.c (77117) wcslcpy.c (86170)
1/*
2 * Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
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

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

26 *
27 * from OpenBSD: strlcpy.c,v 1.4 1999/05/01 18:56:41 millert Exp
28 */
29
30#include <sys/cdefs.h>
31#if defined(LIBC_SCCS) && !defined(lint)
32__RCSID("$NetBSD: wcslcpy.c,v 1.1 2000/12/23 23:14:36 itojun Exp $");
33#endif /* LIBC_SCCS and not lint */
1/*
2 * Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
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

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

26 *
27 * from OpenBSD: strlcpy.c,v 1.4 1999/05/01 18:56:41 millert Exp
28 */
29
30#include <sys/cdefs.h>
31#if defined(LIBC_SCCS) && !defined(lint)
32__RCSID("$NetBSD: wcslcpy.c,v 1.1 2000/12/23 23:14:36 itojun Exp $");
33#endif /* LIBC_SCCS and not lint */
34#ifndef lint
35static const char rcsid[] =
36 "$FreeBSD: head/lib/libc/string/wcslcpy.c 77117 2001-05-24 08:47:42Z obrien $";
37#endif
34__FBSDID("$FreeBSD: head/lib/libc/string/wcslcpy.c 86170 2001-11-07 19:55:16Z obrien $");
38
39#include <sys/types.h>
40#include <assert.h>
41#include <wchar.h>
42
43/*
44 * Copy src to string dst of size siz. At most siz-1 characters
45 * will be copied. Always NUL terminates (unless siz == 0).

--- 30 unchanged lines hidden ---
35
36#include <sys/types.h>
37#include <assert.h>
38#include <wchar.h>
39
40/*
41 * Copy src to string dst of size siz. At most siz-1 characters
42 * will be copied. Always NUL terminates (unless siz == 0).

--- 30 unchanged lines hidden ---