strxfrmP.h
上传用户:luoyougen
上传日期:2008-05-12
资源大小:23136k
文件大小:1k
源码类别:

VxWorks

开发平台:

C/C++

  1. /* strxfrmP.h - header file for string */
  2. /* Copyright 1992 Wind River Systems, Inc. */
  3. /*
  4. modification history
  5. --------------------
  6. 01c,22sep92,rrr  added support for c++
  7. 01b,11jul92,smb  fixed __STDC__ ifdef.
  8. 01a,08jul92,smb  written and documented.
  9. */
  10. /*
  11. DESCRIPTION
  12. SEE ALSO: American National Standard X3.159-1989
  13. */
  14. #include "string.h"
  15. #include "private/strStateP.h"
  16. #ifndef __INCstrxfrmPh
  17. #define __INCstrxfrmPh
  18. #ifdef __cplusplus
  19. extern "C" {
  20. #endif
  21. /* A data object of type __cosave saves the state information between
  22.  * calls to __strxfrm.
  23.  */
  24. typedef struct
  25.     {
  26.     uchar_t __state;
  27.     ushort_t __wchar;
  28.     } __cosave;
  29. /* function declarations */
  30. #if defined(__STDC__) || defined(__cplusplus)
  31. extern size_t __strxfrm (char *sout, const uchar_t **ppsin, size_t size,
  32.               __cosave *ps);
  33. #else /* __STDC__ */
  34. extern size_t __strxfrm ();
  35. #endif /* __STDC__ */
  36. #ifdef __cplusplus
  37. }
  38. #endif
  39. #endif /* __INCstrxfrmPh */