home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / metamail / contrib / ServiceMail / src / mesh / tcl / string.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-03-18  |  2.1 KB  |  51 lines

  1. /*
  2.  * string.h --
  3.  *
  4.  *    Declarations of ANSI C library procedures for string handling.
  5.  *
  6.  * Copyright 1991 Regents of the University of California
  7.  * Permission to use, copy, modify, and distribute this
  8.  * software and its documentation for any purpose and without
  9.  * fee is hereby granted, provided that the above copyright
  10.  * notice appears in all copies.  The University of California
  11.  * makes no representations about the suitability of this
  12.  * software for any purpose.  It is provided "as is" without
  13.  * express or implied warranty.
  14.  *
  15.  * $Header: /sprite/src/lib/tcl/compat/RCS/string.h,v 1.1 91/09/19 16:22:11 ouster Exp $ SPRITE (Berkeley)
  16.  */
  17.  
  18. #ifndef _STRING
  19. #define _STRING
  20.  
  21. #include <tcl.h>
  22.  
  23. extern char *        memchr _ANSI_ARGS_((char *s, int c, int n));
  24. extern int        memcmp _ANSI_ARGS_((char *s1, char *s2, int n));
  25. extern char *        memcpy _ANSI_ARGS_((char *t, char *f, int n));
  26. extern char *        memmove _ANSI_ARGS_((char *t, char *f, int n));
  27. extern char *        memset _ANSI_ARGS_((char *s, int c, int n));
  28.  
  29. extern int        strcasecmp _ANSI_ARGS_((char *s1, char *s2));
  30. extern char *        strcat _ANSI_ARGS_((char *dst, char *src));
  31. extern char *        strchr _ANSI_ARGS_((char *string, int c));
  32. extern int        strcmp _ANSI_ARGS_((char *s1, char *s2));
  33. extern char *        strcpy _ANSI_ARGS_((char *dst, char *src));
  34. extern int        strcspn _ANSI_ARGS_((char *string, char *chars));
  35. extern char *        strdup _ANSI_ARGS_((char *string));
  36. extern char *        strerror _ANSI_ARGS_((int error));
  37. extern int        strlen _ANSI_ARGS_((char *string));
  38. extern int        strncasecmp _ANSI_ARGS_((char *s1, char *s2, int n));
  39. extern char *        strncat _ANSI_ARGS_((char *dst, char *src,
  40.                 int numChars));
  41. extern int        strncmp _ANSI_ARGS_((char *s1, char *s2, int nChars));
  42. extern char *        strncpy _ANSI_ARGS_((char *dst, char *src,
  43.                 int numChars));
  44. extern char *        strpbrk _ANSI_ARGS_((char *string, char *chars));
  45. extern char *        strrchr _ANSI_ARGS_((char *string, int c));
  46. extern int        strspn _ANSI_ARGS_((char *string, char *chars));
  47. extern char *        strstr _ANSI_ARGS_((char *string, char *substring));
  48. extern char *        strtok _ANSI_ARGS_((char *s, char *delim));
  49.  
  50. #endif /* _STRING */
  51.