Annotation of qemu/roms/SLOF/lib/libc/include/string.h, revision 1.1.1.1

1.1       root        1: /******************************************************************************
                      2:  * Copyright (c) 2004, 2008 IBM Corporation
                      3:  * All rights reserved.
                      4:  * This program and the accompanying materials
                      5:  * are made available under the terms of the BSD License
                      6:  * which accompanies this distribution, and is available at
                      7:  * http://www.opensource.org/licenses/bsd-license.php
                      8:  *
                      9:  * Contributors:
                     10:  *     IBM Corporation - initial implementation
                     11:  *****************************************************************************/
                     12: 
                     13: #ifndef _STRING_H
                     14: #define _STRING_H
                     15: 
                     16: #include "stddef.h"
                     17: 
                     18: char *strcpy(char *dest, const char *src);
                     19: char *strncpy(char *dest, const char *src, size_t n);
                     20: char *strcat(char *dest, const char *src);
                     21: int strcmp(const char *s1, const char *s2);
                     22: int strncmp(const char *s1, const char *s2, size_t n);
                     23: int strcasecmp(const char *s1, const char *s2);
                     24: int strncasecmp(const char *s1, const char *s2, size_t n);
                     25: char *strchr(const char *s, int c);
                     26: char *strrchr(const char *s, int c);
                     27: size_t strlen(const char *s);
                     28: char *strstr(const char *hay, const char *needle);
                     29: 
                     30: void *memset(void *s, int c, size_t n);
                     31: void *memchr(const void *s, int c, size_t n);
                     32: void *memcpy(void *dest, const void *src, size_t n);
                     33: void *memmove(void *dest, const void *src, size_t n);
                     34: int memcmp(const void *s1, const void *s2, size_t n);
                     35: 
                     36: #endif

unix.superglobalmegacorp.com

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