169b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Catania/* -*- c++ -*- */
269b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Catania/*
369b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Catania * Copyright (C) 2009 The Android Open Source Project
469b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Catania * All rights reserved.
569b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Catania *
669b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Catania * Redistribution and use in source and binary forms, with or without
769b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Catania * modification, are permitted provided that the following conditions
869b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Catania * are met:
969b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Catania *  * Redistributions of source code must retain the above copyright
1069b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Catania *    notice, this list of conditions and the following disclaimer.
1169b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Catania *  * Redistributions in binary form must reproduce the above copyright
1269b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Catania *    notice, this list of conditions and the following disclaimer in
1369b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Catania *    the documentation and/or other materials provided with the
1469b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Catania *    distribution.
1569b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Catania *
1669b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Catania * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1769b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Catania * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1869b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Catania * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
1969b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Catania * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
2069b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Catania * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
2169b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Catania * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
2269b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Catania * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
2369b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Catania * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
2469b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Catania * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
2569b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Catania * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
2669b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Catania * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2769b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Catania * SUCH DAMAGE.
2869b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Catania */
2969b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Catania
3069b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Catania#ifndef BIONIC_LIBSTDCPP_INCLUDE_CSTRING__
3169b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Catania#define BIONIC_LIBSTDCPP_INCLUDE_CSTRING__
3269b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Catania
3369b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Catania/*
3469b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Catania * Standard C++ Library wrapper around the C string.h header file.
3569b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Catania */
3669b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Catania
3769b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Catania#include <cstddef>
3869b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Catania#include <string.h>
3969b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Catania
400621a279adfb981ea1f0564e7fc8280cda78e043David 'Digit' Turnerextern "C++" {
410621a279adfb981ea1f0564e7fc8280cda78e043David 'Digit' Turner
4269b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Catanianamespace std
4369b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Catania{
4469b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Cataniausing ::memchr;
4569b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Cataniausing ::memcmp;
4669b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Cataniausing ::memcpy;
4769b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Cataniausing ::memmove;
4869b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Cataniausing ::memset;
49ec6c274da2bdaade68a2dda7bb8c6046fe29e23bNicolas Cataniausing ::strcat;
5069b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Cataniausing ::strchr;
5169b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Cataniausing ::strcmp;
52ec6c274da2bdaade68a2dda7bb8c6046fe29e23bNicolas Cataniausing ::strcoll;
5369b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Cataniausing ::strcpy;
54ec6c274da2bdaade68a2dda7bb8c6046fe29e23bNicolas Cataniausing ::strcspn;
5569b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Cataniausing ::strerror;
56ec6c274da2bdaade68a2dda7bb8c6046fe29e23bNicolas Cataniausing ::strlen;
5769b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Cataniausing ::strncat;
5869b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Cataniausing ::strncmp;
5969b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Cataniausing ::strncpy;
6069b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Cataniausing ::strpbrk;
61ec6c274da2bdaade68a2dda7bb8c6046fe29e23bNicolas Cataniausing ::strrchr;
6269b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Cataniausing ::strspn;
63ec6c274da2bdaade68a2dda7bb8c6046fe29e23bNicolas Cataniausing ::strstr;
64ec6c274da2bdaade68a2dda7bb8c6046fe29e23bNicolas Cataniausing ::strtok;
6569b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Cataniausing ::strxfrm;
6669b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Catania}  // namespace std
6769b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Catania
680621a279adfb981ea1f0564e7fc8280cda78e043David 'Digit' Turner}  // extern C++
690621a279adfb981ea1f0564e7fc8280cda78e043David 'Digit' Turner
7069b1a8ac50adbd74c45c3d4d07384e9107a4d12dNiko Catania#endif  // BIONIC_LIBSTDCPP_INCLUDE_CSTRING__
71