docs: add Networking section + process/OS builtins (net_send, owner, is_server, serialize/apply, arg, exit, run, getenv, read_char, file_*)
All checks were successful
docs / build-and-deploy (push) Successful in 1s
All checks were successful
docs / build-and-deploy (push) Successful in 1s
Sourced from the compiler's confirmed builtin set and NETWORKING-DESIGN.md, so the reference reflects the current language surface. 93 -> 104 symbols. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
ccef707e4c
commit
25f987e30d
17 changed files with 144 additions and 5 deletions
12
docs/language/builtins/fn-file.md
Normal file
12
docs/language/builtins/fn-file.md
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
---
|
||||
id: fn-file
|
||||
name: file_write / file_stdout / file_stderr
|
||||
category: builtins
|
||||
kind: builtin
|
||||
tokens: file_write file_stdout file_stderr
|
||||
sig: file_stdout() -> ptr file_stderr() -> ptr file_write(handle, buf, len)
|
||||
tip: Low-level output handles and raw writing.
|
||||
order: 25
|
||||
---
|
||||
|
||||
<code>file_stdout()</code> and <code>file_stderr()</code> return the standard stream handles; <code>file_write(handle, buf, len)</code> writes <code>len</code> raw bytes to one. Most code uses <code>print</code> instead — these are the primitive underneath.
|
||||
Loading…
Add table
Add a link
Reference in a new issue