-
-
Notifications
You must be signed in to change notification settings - Fork 9
cstdio
Isaac Shelton edited this page Sep 12, 2023
·
6 revisions
The functions defined are variants of functions from sys/cstdio.adept
, but have been made to work with String
values instead of C-Strings.
func printf(format String, arguments ...) int
func fprintf(file *FILE, format String, arguments ...) int
func remove(filename String) int
func rename(old_name String, new_name String) int
func fopen(filename String, mode String) *FILE
func freopen(filename String, mode String, stream *FILE) *FILE
func scanf(format String, ...) int
func fscanf(file *FILE, format String, ...) int
func sscanf(string String, format String, ...) int
func fgets(max_line int, file *FILE) String
func fgets(max_line int, file *FILE, out result *String) successful
func fputs(string String, file *FILE) int
func gets() String
Other symbols are imported indirectly from sys/cstdio.adept