1224246Sgnn/*
2224246Sgnn * Copyright 2011 George V. Neville-Neil. All rights reserved.
3224246Sgnn *
4224246Sgnn * The compilation of software known as FreeBSD is distributed under the
5224246Sgnn * following terms:
6224246Sgnn * Redistribution and use in source and binary forms, with or without
7224246Sgnn * modification, are permitted provided that the following conditions
8224246Sgnn * are met:
9224246Sgnn * 1. Redistributions of source code must retain the above copyright
10224246Sgnn *    notice, this list of conditions and the following disclaimer.
11224246Sgnn * 2. Redistributions in binary form must reproduce the above copyright
12224246Sgnn *    notice, this list of conditions and the following disclaimer in the
13224246Sgnn *    documentation and/or other materials provided with the distribution.
14224246Sgnn *
15224246Sgnn * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16224246Sgnn * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17224246Sgnn * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18224246Sgnn * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19224246Sgnn * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20224246Sgnn * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21224246Sgnn * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22224246Sgnn * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23224246Sgnn * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24224246Sgnn * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25224246Sgnn * SUCH DAMAGE.
26224246Sgnn */
27224246Sgnn
28224246Sgnn#include <sys/cdefs.h>
29224246Sgnn__FBSDID("$FreeBSD$");
30224246Sgnn
31224246Sgnnchar *__stpcpy(char * __restrict, const char * __restrict);
32224246Sgnn
33224246Sgnnchar *
34224246Sgnnstrcpy(char * __restrict to, const char * __restrict from)
35224246Sgnn{
36224246Sgnn	__stpcpy(to, from);
37224246Sgnn	return(to);
38224246Sgnn}
39