home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Texteditors / Origami / Sources / src / lib / string.c < prev    next >
Encoding:
C/C++ Source or Header  |  1996-09-27  |  716 b   |  37 lines

  1. /*{{{}}}*/
  2. /*{{{  includes*/
  3. #include <string.h>
  4. #include <lib/ori_add_lib.h>
  5. /*}}}  */
  6.  
  7. /*{{{  ustrcpy*/
  8. unsigned char *ustrcpy(unsigned char *x,unsigned char const *y)
  9. {
  10.   strcpy((char*)x,(char*)y);
  11. }
  12. /*}}}  */
  13. /*{{{  ustrcat*/
  14. unsigned char *ustrcat(unsigned char *x,unsigned char const *y)
  15. {
  16.   strcat((char*)x,(char*)y);
  17. }
  18. /*}}}  */
  19. /*{{{  ustrcmp*/
  20. int ustrcmp(unsigned char const *x,unsigned char const *y)
  21. {
  22.   return(strcmp((char*)x,(char*)y));
  23. }
  24. /*}}}  */
  25. /*{{{  ustrstr*/
  26. unsigned char *ustrstr(unsigned char const *x,unsigned char const *y)
  27. {
  28.   return((unsigned char*)strstr((char*)x,(char*)y));
  29. }
  30. /*}}}  */
  31. /*{{{  ustrlen*/
  32. size_t ustrlen(unsigned char const *s)
  33. {
  34.   return(strlen((char*)s));
  35. }
  36. /*}}}  */
  37.