-
-
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 ...) intfunc fprintf(file *FILE, format String, arguments ...) intfunc remove(filename String) intfunc rename(old_name String, new_name String) intfunc fopen(filename String, mode String) *FILEfunc freopen(filename String, mode String, stream *FILE) *FILEfunc scanf(format String, ...) intfunc fscanf(file *FILE, format String, ...) intfunc sscanf(string String, format String, ...) intfunc fgets(max_line int, file *FILE) Stringfunc fgets(max_line int, file *FILE, out result *String) successfulfunc fputs(string String, file *FILE) intfunc gets() String
Other symbols are imported indirectly from sys/cstdio.adept