home *** CD-ROM | disk | FTP | other *** search
/ PC Extra Super CD 1998 January / PCPLUS131.iso / DJGPP / V2 / DJLSR201.ZIP / src / libc / ansi / string / strxfrm.txh < prev    next >
Encoding:
Text File  |  1995-07-10  |  604 b   |  22 lines

  1. @node strxfrm, locale
  2. @subheading Syntax
  3.  
  4. @example
  5. #include <string.h>
  6.  
  7. size_t strxfrm(char *s1, const char *s2, size_t max);
  8. @end example
  9.  
  10. @subheading Description
  11.  
  12. This copies characters from @var{s2} to @var{s1}, which must be able to
  13. hold @var{max} characters.  Each character is transformed according to
  14. the locale such that @code{strcmp(s1b, s2b)} is just like
  15. @code{strcoll(s1, s2)} where @code{s1b} and @code{s2b} are the
  16. transforms of @code{s1} and @code{s2}. 
  17.  
  18. @subheading Return Value
  19.  
  20. The actual number of bytes required to transform @var{s2}, including the
  21. @code{NULL}. 
  22.