1999-08-16 21:50:52 +00:00
|
|
|
/*
|
|
|
|
*******************************************************************************
|
1999-12-13 22:28:37 +00:00
|
|
|
*
|
|
|
|
* Copyright (C) 1999, International Business Machines
|
|
|
|
* Corporation and others. All Rights Reserved.
|
|
|
|
*
|
1999-08-16 21:50:52 +00:00
|
|
|
*******************************************************************************
|
|
|
|
*
|
|
|
|
* 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
|
|
|
|
|
1999-12-28 23:57:50 +00:00
|
|
|
#include "unicode/utypes.h"
|
1999-08-16 21:50:52 +00:00
|
|
|
#include "ufile.h"
|
|
|
|
|
|
|
|
#define U_EOF 0xFFFF
|
|
|
|
|
|
|
|
UFILE*
|
1999-12-01 21:36:40 +00:00
|
|
|
u_finit(FileStream *f, const char *cp,
|
1999-08-16 21:50:52 +00:00
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|