Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
string.h
Package: ST_5105DTV.rar [view]
Upload User: fy98168
Upload Date: 2015-06-26
Package Size: 13771k
Code Size: 4k
Category:
DVD
Development Platform:
C/C++
- /* $Id$ */
- /* string.h: ANSI X3.159 1989 library header, section 4.11 */
- /* Copyright (C) Codemist Ltd. */
- /* Copyright (C) SGS-THOMSON Microelectronics Ltd. 1996 */
- #ifndef __string_h
- #define __string_h
- #ifdef __cplusplus
- extern "C" {
- #endif
- #ifndef __size_t
- #define __size_t 1
- typedef unsigned int size_t; /* from <stddef.h> */
- #endif
- #ifndef NULL
- # ifdef __cplusplus
- # define NULL 0
- # else
- # define NULL (void *)0
- # endif
- #endif
- extern void *memcpy(void * /*s1*/, const void * /*s2*/, size_t /*n*/);
- extern void *memmove(void * /*s1*/, const void * /*s2*/, size_t /*n*/);
- extern char *strcpy(char * /*s1*/, const char * /*s2*/);
- extern char *strncpy(char * /*s1*/, const char * /*s2*/, size_t /*n*/);
- extern char *strcat(char * /*s1*/, const char * /*s2*/);
- extern char *strncat(char * /*s1*/, const char * /*s2*/, size_t /*n*/);
- extern int memcmp(const void * /*s1*/, const void * /*s2*/, size_t /*n*/);
- extern int strcmp(const char * /*s1*/, const char * /*s2*/);
- extern int strncmp(const char * /*s1*/, const char * /*s2*/, size_t /*n*/);
- extern int strcoll(const char * /*s1*/, const char * /*s2*/);
- extern size_t strxfrm(char * /*s1*/, const char * /*s2*/, size_t /*n*/);
- #ifdef __cplusplus
- extern const void* memchr(const void* s, int c, size_t n);
- extern const char* strchr(const char* s, int c);
- extern const char* strrchr(const char* s, int c);
- extern const char* strpbrk(const char* s1, const char* s2);
- extern const char* strstr(const char* s1, const char* s2);
- #pragma ST_nosideeffects(memchr(const void*, int, unsigned int))
- #pragma ST_nosideeffects(strchr(const char*, int))
- #pragma ST_nosideeffects(strrchr(const char*, int))
- #pragma ST_nosideeffects(strpbrk(const char*, const char*))
- #pragma ST_nosideeffects(strstr(const char*, const char*))
- extern "C++" {
- extern inline void* memchr(void* s, int c, size_t n)
- {
- return (void*) (memchr((const void*) s, c, n));
- }
- extern inline char* strchr(char* s, int c)
- {
- return (char*) (strchr((const char*) s, c));
- }
- extern inline char* strrchr(char* s, int c)
- {
- return (char*) (strrchr((const char*) s, c));
- }
- extern inline char* strpbrk(char* s1, const char* s2)
- {
- return (char*) (strpbrk((const char*) s1, s2));
- }
- extern inline char* strstr(char* s1, const char* s2)
- {
- return (char*) (strstr((const char*) s1, s2));
- }
- }
- #else /* __cplusplus */
- extern void *memchr(const void * /*s*/, int /*c*/, size_t /*n*/);
- extern char *strchr(const char * /*s*/, int /*c*/);
- extern char *strrchr(const char * /*s*/, int /*c*/);
- extern char *strpbrk(const char * /*s1*/, const char * /*s2*/);
- extern char *strstr(const char * /*s1*/, const char * /*s2*/);
- #pragma ST_nosideeffects(memchr)
- #pragma ST_nosideeffects(strchr)
- #pragma ST_nosideeffects(strrchr)
- #pragma ST_nosideeffects(strpbrk)
- #pragma ST_nosideeffects(strstr)
- #endif /* __cplusplus */
- extern size_t strcspn(const char * /*s1*/, const char * /*s2*/);
- extern size_t strspn(const char * /*s1*/, const char * /*s2*/);
- extern char *strtok(char * /*s1*/, const char * /*s2*/);
- extern void *memset(void * /*s*/, int /*c*/, size_t /*n*/);
- extern size_t strlen(const char * /*s*/);
- extern char *strerror(int /*errnum*/);
- #if __CORE__ != 1
- #pragma ST_builtin_inline(memcpy)
- #pragma ST_builtin_inline(strcpy)
- #endif
- #pragma ST_nosideeffects(memcmp)
- #pragma ST_nosideeffects(strcmp)
- #pragma ST_nosideeffects(strcoll)
- #pragma ST_nosideeffects(strcspn)
- #pragma ST_nosideeffects(strlen)
- #pragma ST_nosideeffects(strncmp)
- #pragma ST_nosideeffects(strspn)
- #ifdef __cplusplus
- }
- #endif
- #endif
- /* end of string.h */