Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
5bc7737b
Commit
5bc7737b
authored
Jan 18, 2000
by
simonmar
Browse files
[project @ 2000-01-18 12:41:03 by simonmar]
ANSIfy
parent
203cb682
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/lib/std/cbits/fileGetc.c
View file @
5bc7737b
/*
* (c) The GRASP/AQUA Project, Glasgow University, 1994-1998
*
* $Id: fileGetc.c,v 1.
5 1999/12/0
8 1
5
:4
7
:0
7
simonmar Exp $
* $Id: fileGetc.c,v 1.
6 2000/01/1
8 1
2
:4
1
:0
3
simonmar Exp $
*
* hGetChar Runtime Support
*/
...
...
@@ -13,8 +13,7 @@
/* Pre-condition: only ever called on a readable fileObject */
StgInt
fileGetc
(
ptr
)
StgForeignPtr
ptr
;
fileGetc
(
StgForeignPtr
ptr
)
{
IOFileObject
*
fo
=
(
IOFileObject
*
)
ptr
;
int
rc
=
0
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment