mirror of
https://codeberg.org/TicklishHoneyBee/CLIte.git
synced 2026-03-11 09:04:37 +00:00
documentation and version bump (0.3 for libraries in /lib)
This commit is contained in:
parent
3aeae461f0
commit
6fea9dd2db
2 changed files with 10 additions and 5 deletions
|
|
@ -1,6 +1,6 @@
|
|||
var clite = {
|
||||
state:{
|
||||
version:'0.2-3',
|
||||
version:'0.3-1',
|
||||
isinit:false,
|
||||
runlevel:1
|
||||
},
|
||||
|
|
|
|||
|
|
@ -284,13 +284,18 @@ stdio (libio.so): io.include('stdio')
|
|||
isattty(fd)
|
||||
returns true if fd refers to a tty.
|
||||
|
||||
fprintf(fd,format,args)
|
||||
vfprintf(fd,format,args)
|
||||
Print formatted text to the file at fd.
|
||||
Actually formatting is a work in progress, ignore the args.
|
||||
args is an array of arguments for inserting into the formatted
|
||||
output.
|
||||
Returns true on success.
|
||||
|
||||
printf(fmt,args)
|
||||
Equivalent to fprintf(io.stdout,fmt,args);
|
||||
fprintf(fd,format,...)
|
||||
Similar to vfprintf, but accepts the format arguments as a
|
||||
variable number of arguments to the function itself.
|
||||
|
||||
printf(fmt,...)
|
||||
Equivalent to fprintf(io.stdout,fmt,...);
|
||||
|
||||
term (libterm.so): io.include('term')
|
||||
Provides access to raw terminal and tty functions.
|
||||
|
|
|
|||
Loading…
Reference in a new issue