Skip to content
IsaacShelton edited this page Nov 13, 2022 · 6 revisions

cstdio

[2.7/cstdio.adept](https://github.com/AdeptLanguage/AdeptImport/blob/2eb8b9e05864f782fc7b75b5e62346c5643b8b72/cstdio.adept`](sys-cstdio).

The functions defined are variants of functions from sys/cstdio.adept, but have been made to work with String values instead of C-Strings.

Additional Functions

  • 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

Other symbols are imported indirectly from sys/cstdio.adept

Clone this wiki locally