mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
([StdioStream -closeStream]): New method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@809 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
91f6d02e64
commit
fcd9e82663
1 changed files with 7 additions and 0 deletions
|
@ -191,6 +191,13 @@ stdio_unchar_func(void *s, int c)
|
|||
fflush(fp);
|
||||
}
|
||||
|
||||
- (void) closeStream
|
||||
{
|
||||
fclose(fp);
|
||||
}
|
||||
|
||||
/* xxx Add "- (BOOL) isOpen" method? */
|
||||
|
||||
- (void) rewindStream
|
||||
{
|
||||
rewind(fp);
|
||||
|
|
Loading…
Reference in a new issue