mirror of
https://github.com/A2osX/A2osX.git
synced 2025-02-19 23:29:29 +00:00
Kernel 0.93+
This commit is contained in:
parent
f7bfa20a97
commit
b11b0f94fb
Binary file not shown.
@ -360,10 +360,11 @@ K.SetEnv.I jsr K.UnsetEnv.I
|
|||||||
* searches the environment list to find the environment variable name,
|
* searches the environment list to find the environment variable name,
|
||||||
* and returns a pointer to the corresponding value string.
|
* and returns a pointer to the corresponding value string.
|
||||||
* ## C
|
* ## C
|
||||||
* `char *getenv(const char *name);`
|
* `char *getenv(const char *name, char *value);`
|
||||||
* ## ASM
|
* ## ASM
|
||||||
* **In:**
|
* **In:**
|
||||||
* `>LDYA name`
|
* `>PUSHW name`
|
||||||
|
* `>PUSHW value`
|
||||||
* `>SYSCALL getenv`
|
* `>SYSCALL getenv`
|
||||||
* ## RETURN VALUE
|
* ## RETURN VALUE
|
||||||
* CC : Y,A = PTR to VALUE (C-String)
|
* CC : Y,A = PTR to VALUE (C-String)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user