home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS - Coast to Coast / simteldosarchivecoasttocoast2.iso / awk / awk320sr.zip / AWKFSTR.H < prev    next >
C/C++ Source or Header  |  1991-04-25  |  947b  |  38 lines

  1. /*
  2.  * far string library header file
  3.  *
  4.  * Copyright (C) 1988, 1989, 1990, 1991 by Rob Duff
  5.  * All rights reserved
  6.  */
  7.  
  8. #ifndef _Cdecl
  9. #if __STDC__
  10. #define _Cdecl
  11. #else
  12. #define _Cdecl cdecl
  13. #endif
  14. #endif
  15.  
  16. #ifndef _SIZE_T
  17. #define _SIZE_T
  18. typedef unsigned size_t;
  19. #endif
  20.  
  21. size_t    _Cdecl fstrlen(const char far *s);
  22.  
  23. char far *_Cdecl fstrchr(const char far *s, int c);
  24.  
  25. char far *_Cdecl fstrupr(char far *dst, const char far *src);
  26. char far *_Cdecl fstrlwr(char far *dst, const char far *src);
  27.  
  28. char far *_Cdecl fstrcat(char far *dst, const char far *src);
  29. char far *_Cdecl fstrcpy(char far *dst, const char far *src);
  30.  
  31. int       _Cdecl fstrcmp(const char far *s1, const char far *s2);
  32. char far *_Cdecl fstrstr(const char far *s1, const char far *s2);
  33.  
  34. char far *_Cdecl fstrncat(char far *dst, const char far *src, size_t maxlen);
  35. char far *_Cdecl fstrncpy(char far *dst, const char far *src, size_t maxlen);
  36.  
  37.  
  38.