scuffed-code/icu4c/source/tools/genrb/ustdio.h
Markus Scherer f452a84c52 ICU-161 change copyright for open source
X-SVN-Rev: 393
1999-12-13 22:28:37 +00:00

78 lines
1.3 KiB
C

/*
*******************************************************************************
*
* Copyright (C) 1999, International Business Machines
* Corporation and others. All Rights Reserved.
*
*******************************************************************************
*
* File ustdio.h
*
* Modification History:
*
* Date Name Description
* 10/16/98 stephen Creation.
* 11/06/98 stephen Modified per code review.
* 03/12/99 stephen Modified for new C API.
*******************************************************************************
*/
#ifndef USTDIO_H
#define USTDIO_H 1
#include "utypes.h"
#include "ufile.h"
#define U_EOF 0xFFFF
UFILE*
u_finit(FileStream *f, const char *cp,
UErrorCode *status);
void
u_fclose(UFILE *file);
int32_t
u_fputs(const UChar *s,
UFILE *f,
UErrorCode *status);
int32_t
u_fputc(UChar uc,
UFILE *f,
UErrorCode *status);
int32_t
u_file_write(const UChar *chars,
int32_t count,
UFILE *f,
UErrorCode *status);
UChar*
u_fgets(UFILE *f,
int32_t n,
UChar *s,
UErrorCode *status);
UChar
u_fgetc(UFILE *f,
UErrorCode *status);
UChar
u_fungetc(UChar c,
UFILE *f,
UErrorCode *status);
int32_t
u_file_read(UChar *chars,
int32_t count,
UFILE *f,
UErrorCode *status);
#endif