|
|
1.1 ! root 1: /* (-lgl ! 2: * COHERENT Version 3.2 ! 3: * Copyright (c) 1982, 1993 by Mark Williams Company. ! 4: * All rights reserved. May not be copied without permission. ! 5: -lgl) */ ! 6: /* ! 7: * string.h ! 8: * C string handling library header. ! 9: * Draft Proposed ANSI C Standard, Section 4.11, 5/13/88 draft. ! 10: */ ! 11: ! 12: #ifndef __STRING_H__ ! 13: #define __STRING_H__ ! 14: ! 15: #ifndef _SIZE_T ! 16: #define _SIZE_T ! 17: typedef unsigned int size_t; /* sizeof result type */ ! 18: #endif ! 19: ! 20: #define Void char /* Use "Void *" as generic pointer type */ ! 21: #define const /* Ignore type modifier "const" */ ! 22: ! 23: /* External declarations. */ ! 24: extern Void *memchr(); /* 4.11.5.1 */ ! 25: extern int memcmp(); /* 4.11.4.1 */ ! 26: extern Void *memcpy(); /* 4.11.2.1 */ ! 27: extern Void *memmove(); /* 4.11.2.2 */ ! 28: extern Void *memset(); /* 4.11.6.1 */ ! 29: extern char *strcat(); /* 4.11.3.1 */ ! 30: extern char *strchr(); /* 4.11.5.2 */ ! 31: extern int strcmp(); /* 4.11.4.2 */ ! 32: extern int strcoll(); /* 4.11.4.3 */ ! 33: extern char *strcpy(); /* 4.11.2.3 */ ! 34: extern size_t strcspn(); /* 4.11.5.3 */ ! 35: extern char *strerror(); /* 4.11.6.2 */ ! 36: extern size_t strlen(); /* 4.11.6.3 */ ! 37: extern char *strncat(); /* 4.11.3.2 */ ! 38: extern int strncmp(); /* 4.11.4.4 */ ! 39: extern char *strncpy(); /* 4.11.2.4 */ ! 40: extern char *strpbrk(); /* 4.11.5.4 */ ! 41: extern char *strrchr(); /* 4.11.5.5 */ ! 42: extern size_t strspn(); /* 4.11.5.6 */ ! 43: extern char *strstr(); /* 4.11.5.7 */ ! 44: extern char *strtok(); /* 4.11.5.8 */ ! 45: extern size_t strxfrm(); /* 4.11.4.5 */ ! 46: ! 47: /* Non-ANSI function. */ ! 48: extern char *memccpy(); ! 49: ! 50: /* Internal function. */ ! 51: extern void _memxchg(); ! 52: ! 53: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.