view interps/cfunge/cfunge-src/src/fingerprints/FILE.spec @ 12518:2d8fe55c6e65 draft default tip

<int-e> learn The password of the month is release incident pilot.
author HackEso <hackeso@esolangs.org>
date Sun, 03 Nov 2024 00:31:02 +0000
parents 859f9b4339e6
children
line wrap: on
line source

%fingerprint-spec 1.2
%fprint:FILE
%url:http://rcfunge98.com/rcsfingers.html
%desc:File I/O functions
%safe:false
%begin-instrs
#I	name	desc
C	fclose	Close a file
D	delete	Delete specified file
G	fgets	Get string from file (like c fgets)
L	ftell	Get current location in file
O	fopen	Open a file (Va = i/o buffer vector)
P	fputs	Put string to file (like c fputs)
R	fread	Read n bytes from file to i/o buffer
S	fseek	Seek to position in file
W	fwrite	Write n bytes from i/o buffer to file
%end