Commit 8c936a8e authored by sof's avatar sof
Browse files

[project @ 2001-11-07 18:19:49 by sof]

parent 87284a13
* (c) The GRASP/AQUA Project, Glasgow University, 1994-
* IO / Handle support.
#ifndef __PRELIOUTILS_H__
#define __PRELIOUTILS_H__
/* PrelIOUtils.c */
extern HsBool prel_supportsTextMode();
extern HsInt prel_bufsiz();
extern HsInt prel_seek_cur();
extern HsInt prel_seek_set();
extern HsInt prel_seek_end();
extern HsInt prel_o_binary();
extern HsInt prel_setmode(HsInt fd, HsBool isBin);
extern HsInt prel_PrelHandle_write(HsInt fd, HsAddr ptr, HsInt off, HsInt sz);
extern HsInt prel_PrelHandle_read(HsInt fd, HsAddr ptr, HsInt off, HsInt sz);
extern void* prel_PrelIO_memcpy(char *dst, HsInt dst_off, const char *src, size_t sz);
/* writeError.c */
extern void writeErrString__(HsAddr msg_hdr, HsAddr msg, HsInt len);
#endif /* __PRELIOUTILS_H__ */
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment