Annotation of Gnu-Mach/include/string.h, revision 1.1

1.1     ! root        1: /*
        !             2:  * String Handling Functions.
        !             3:  * Copyright (C) 2006 Free Software Foundation, Inc.
        !             4:  *
        !             5:  * This program is free software; you can redistribute it and/or modify
        !             6:  * it under the terms of the GNU General Public License as published by
        !             7:  * the Free Software Foundation; either version 2, or (at your option)
        !             8:  * any later version.
        !             9:  *
        !            10:  * This program is distributed in the hope that it will be useful,
        !            11:  * but WITHOUT ANY WARRANTY; without even the implied warranty of
        !            12:  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        !            13:  * GNU General Public License for more details.
        !            14:  *
        !            15:  * You should have received a copy of the GNU General Public License
        !            16:  * along with this program; if not, write to the Free Software
        !            17:  * Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
        !            18:  *
        !            19:  *     Author: Barry deFreese.
        !            20:  */
        !            21: /*
        !            22:  *     String handling functions.
        !            23:  *
        !            24:  */
        !            25: 
        !            26: #ifndef _MACH_SA_SYS_STRING_H_
        !            27: #define _MACH_SA_SYS_STRING_H_
        !            28: 
        !            29: #include <sys/types.h>
        !            30: 
        !            31: extern void *memcpy (void *dest, const void *src, size_t n);
        !            32: 
        !            33: extern void *memmove (void *dest, const void *src, size_t n);
        !            34: 
        !            35: extern int memcmp (const void *s1, const void *s2, size_t n);
        !            36: 
        !            37: extern void *memset (void *s, int c, size_t n);
        !            38: 
        !            39: extern char *strchr (const char *s, int c);
        !            40: 
        !            41: extern char *strcpy (char *dest, const char *src);
        !            42: 
        !            43: extern char *strncpy (char *dest, const char *src, size_t n);
        !            44: 
        !            45: extern char *strrchr (const char *s, int c);
        !            46: 
        !            47: extern char *strsep (char **strp, const char *delim);
        !            48: 
        !            49: extern int strcmp (const char *s1, const char *s2);
        !            50: 
        !            51: extern int strncmp (const char *s1, const char *s2, size_t n);
        !            52: 
        !            53: extern size_t strlen (const char *s);
        !            54: 
        !            55: extern char *strstr(const char *haystack, const char *needle);
        !            56: 
        !            57: #endif /* _MACH_SA_SYS_STRING_H_ */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.