mirror of
https://github.com/A2osX/A2osX.git
synced 2025-02-16 18:30:26 +00:00
Kernel 0.9.2
This commit is contained in:
parent
bc5af2e958
commit
6990622f84
@ -13,11 +13,16 @@ CS : Out Of Bound
|
|||||||
|
|
||||||
Search a file in the provided PATH list
|
Search a file in the provided PATH list
|
||||||
And return, if found, the full path to it.
|
And return, if found, the full path to it.
|
||||||
|
## C
|
||||||
|
|
||||||
|
`int filesearch ( char * filename, char * searchpath, char * fullpath, stat * filestat);`
|
||||||
|
## ASM
|
||||||
|
|
||||||
**In:**
|
**In:**
|
||||||
PUSHW = Ptr to Search Path (CSTR) %LIB%;/SYS/SLIB
|
`>PUSHWI filestat`
|
||||||
PUSHW = Ptr to File Name (CSTR)
|
`>PUSHWI fullpath`
|
||||||
PUSHW = Ptr to DstBuf
|
`>PUSHWI searchpath`
|
||||||
PUSHW = Ptr to DstStat
|
`>LDYAI filename`
|
||||||
**Out:**
|
**Out:**
|
||||||
CC : success
|
CC : success
|
||||||
DstBuf = FilePath
|
DstBuf = FilePath
|
||||||
@ -85,7 +90,7 @@ note: X Unmodified
|
|||||||
A = hDIR
|
A = hDIR
|
||||||
**Out:**
|
**Out:**
|
||||||
none, always succeed.
|
none, always succeed.
|
||||||
# ExpandStr.YA
|
# ExpandStr
|
||||||
|
|
||||||
**In:**
|
**In:**
|
||||||
Y,A = PTR to String to Expand (C-String)
|
Y,A = PTR to String to Expand (C-String)
|
||||||
@ -383,7 +388,7 @@ return a hFILE to a new FIFO
|
|||||||
Print A (char) to hFILE
|
Print A (char) to hFILE
|
||||||
## C
|
## C
|
||||||
|
|
||||||
int fputc ( int character, hFILE stream );
|
`int fputc ( int character, hFILE stream );`
|
||||||
## ASM
|
## ASM
|
||||||
|
|
||||||
**In:**
|
**In:**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user