home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 6 / AACD06.ISO / AACD / Programming / ICU / src / icu / source / tools / genrb / ustdio.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-08-16  |  1.7 KB  |  81 lines

  1. /*
  2. *******************************************************************************
  3. *                                                                             *
  4. * COPYRIGHT:                                                                  *
  5. *   (C) Copyright International Business Machines Corporation, 1999           *
  6. *   Licensed Material - Program-Property of IBM - All Rights Reserved.        *
  7. *   US Government Users Restricted Rights - Use, duplication, or disclosure   *
  8. *   restricted by GSA ADP Schedule Contract with IBM Corp.                    *
  9. *                                                                             *
  10. *******************************************************************************
  11. *
  12. * File ustdio.h
  13. *
  14. * Modification History:
  15. *
  16. *   Date        Name        Description
  17. *   10/16/98    stephen        Creation.
  18. *   11/06/98    stephen        Modified per code review.
  19. *   03/12/99    stephen     Modified for new C API.
  20. *******************************************************************************
  21. */
  22.  
  23. #ifndef USTDIO_H
  24. #define USTDIO_H 1
  25.  
  26. #include "utypes.h"
  27. #include "ufile.h"
  28.  
  29. #define U_EOF 0xFFFF
  30.  
  31. UFILE*
  32. u_finit(FileStream *f,
  33.     UErrorCode *status);
  34.  
  35. void
  36. u_fclose(UFILE *file);
  37.  
  38. int32_t
  39. u_fputs(const UChar *s,
  40.     UFILE *f,
  41.     UErrorCode *status);
  42.  
  43. int32_t
  44. u_fputc(UChar uc,
  45.     UFILE *f,
  46.     UErrorCode *status);
  47.  
  48. int32_t
  49. u_file_write(const UChar *chars, 
  50.          int32_t count, 
  51.          UFILE *f,
  52.          UErrorCode *status);
  53.  
  54. UChar*
  55. u_fgets(UFILE *f,
  56.     int32_t n,
  57.     UChar *s,
  58.     UErrorCode *status);
  59.  
  60. UChar
  61. u_fgetc(UFILE *f,
  62.     UErrorCode *status);
  63.  
  64. UChar
  65. u_fungetc(UChar c,
  66.       UFILE *f,
  67.       UErrorCode *status);
  68.  
  69. int32_t
  70. u_file_read(UChar *chars, 
  71.         int32_t count, 
  72.         UFILE *f,
  73.         UErrorCode *status);
  74.  
  75. #endif
  76.  
  77.  
  78.  
  79.  
  80.  
  81.