rs-libc 0.2.4

A subset of libc that can be used with Rust in freestanding environments.
Documentation
Most source files are subject to the terms of the Mozilla Public License,
v. 2.0, as mentioned in the file header. The following files have a different
license:

Adapted from musl-libc (license below):
    src/c/abs.c
    src/c/__ctype_b_loc.c
    src/c/__ctype_tolower_loc.c
    src/c/__ctype_toupper_loc.c
    src/c/floatscan.c
    src/c/floatscan.h
    src/c/intscan.c
    src/c/intscan.h
    src/c/memchr.c
    src/c/memrchr.c
    src/c/stpcpy.c
    src/c/stpncpy.c
    src/c/strchr.c
    src/c/strrchr.c
    src/c/strchrnul.c
    src/c/strcmp.c
    src/c/strcpy.c
    src/c/strcspn.c
    src/c/strdup.c
    src/c/strlen.c
    src/c/strncmp.c
    src/c/strncpy.c
    src/c/strpbrk.c
    src/c/strspn.c
    src/c/strstr.c
    src/c/strtod.c
    src/c/strtol.c

Adapted from Intel's linux-sgx libm (license below):
	src/asm/x86_64/copysignl.S
	src/asm/x86_64/fabs.S
	src/asm/x86_64/fmodl.S
	src/asm/x86_64/frexp_gen.S
	src/asm/x86_64/frexpf.S
	src/asm/x86_64/frexpl.S
	src/asm/x86_64/ldexp_gen.S
	src/asm/x86_64/ldexpf.S
	src/asm/x86_64/ldexpl.S
	src/asm/x86_64/scalblnl.S
	src/asm/x86_64/scalbn_gen.S
	src/asm/x86_64/scalbnl.S
	src/asm/x86_64/sqrt.S
	
Adapted from Patrick Powell (license in file):
    src/c/snprintf.c

----------------------------------------------------------------------
musl as a whole is licensed under the following standard MIT license:

----------------------------------------------------------------------
Copyright © 2005-2014 Rich Felker, et al.

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


----------------------------------------------------------------------
Intel's linux-sgx libm is licensed under the following:

----------------------------------------------------------------------

Copyright (C) 2016 Intel Corporation. All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:

  * Redistributions of source code must retain the above copyright
    notice, this list of conditions and the following disclaimer.
  * Redistributions in binary form must reproduce the above copyright
    notice, this list of conditions and the following disclaimer in
    the documentation and/or other materials provided with the
    distribution.
  * Neither the name of Intel Corporation nor the names of its
    contributors may be used to endorse or promote products derived

from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.