Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pike
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pikelang
pike
Commits
ff3e7503
Commit
ff3e7503
authored
28 years ago
by
Fredrik Hübinette (Hubbe)
Browse files
Options
Downloads
Patches
Plain Diff
New documenation
Rev: doc/precompiled/FILE:1.1
parent
f0e2972c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/precompiled/FILE
+68
-0
68 additions, 0 deletions
doc/precompiled/FILE
with
68 additions
and
0 deletions
doc/precompiled/FILE
0 → 100644
+
68
−
0
View file @
ff3e7503
NAME
/precompiled/FILE - buffered IO
DESCRIPTION
/precompiled/FILE implements buffered IO and some nice functions
not available in /precompiled/file such as gets(). Almost all the
functions of /precompiled/file are present. The extra functions
are listed below:
SEE ALSO
/precompiled/file
============================================================================
NAME
gets - get one line
SYNTAX
#include <stdio.h>
string FILE->gets();
DESCRIPTION
This function returns one line from the FILE, it returns zero if
no more lines are available.
============================================================================
NAME
printf - formatted print
SYNTAX
#include <stdio.h>
string FILE->printf(string format, mixed ... data);
DESCRIPTION
This function does aproximately the same as:
FILE->write(sprintf(format,@data))
SEE ALSO
sprintf
============================================================================
NAME
ungets - put a character back in the buffer
SYNTAX
#include <stdio.h>
string FILE->ungets(string s);
DESCRIPTION
This function puts a string back in the input buffer. The string
can then be read with read or gets.
============================================================================
NAME
getchar - get one character from the input stream
SYNTAX
#include <stdio.h>
int FILE->getchar();
DESCRIPTION
This function returns one character from the input stream. Note
that the return value is the ascii value of the character, not
a string containing one character.
============================================================================
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment