A2osX/SYS/KERNEL.S.FIFO.txt

73 lines
1.5 KiB
Plaintext
Raw Normal View History

2019-03-18 06:53:20 +00:00
NEW
PREFIX
AUTO 4,1
*/--------------------------------------
* # NewFIFO
* ## C
* `int getpwuid(short int uid, S.PW* passwd );`
* ## ASM
* `>PUSHW passwd`
* `>LDYA size`
* `>SYSCALL getpwuid`
* ## RETURN VALUE
* A = hFIFO
*\--------------------------------------
FIFO.New
*/--------------------------------------
* # GetPWName
* ## C
* `int getpwname(const char* name, S.PW* passwd );`
* ## ASM
* `>PUSHW passwd`
* `>LDYA name`
* `>SYSCALL getpwname`
* ## RETURN VALUE
*\--------------------------------------
FIFO.Free
*/--------------------------------------
* # PutPW
* ## C
* `int putpw( S.PW* passwd );`
* ## ASM
* `>LDYA passwd`
* `>SYSCALL putpw`
* ## RETURN VALUE
*\--------------------------------------
FIFO.Get
*/--------------------------------------
* # PutPW
* ## C
* `int putpw( S.PW* passwd );`
* ## ASM
* `>LDYA passwd`
* `>SYSCALL putpw`
* ## RETURN VALUE
*\--------------------------------------
FIFO.Put
*/--------------------------------------
* # PutPW
* ## C
* `int putpw( S.PW* passwd );`
* ## ASM
* `>LDYA passwd`
* `>SYSCALL putpw`
* ## RETURN VALUE
*\--------------------------------------
FIFO.GetUsed
*/--------------------------------------
* # PutPW
* ## C
* `int putpw( S.PW* passwd );`
* ## ASM
* `>LDYA passwd`
* `>SYSCALL putpw`
* ## RETURN VALUE
*\--------------------------------------
FIFO.GetFree
*--------------------------------------
MAN
SAVE USR/SRC/SYS/KERNEL.S.FIFO
LOAD USR/SRC/SYS/KERNEL.S
ASM