mirror of
https://github.com/A2osX/A2osX.git
synced 2024-11-26 13:49:18 +00:00
Kernel 0.93++
This commit is contained in:
parent
39fbf75056
commit
7262db1455
@ -1266,10 +1266,10 @@ CS : no match
|
|||||||
Get System Time in Buffer
|
Get System Time in Buffer
|
||||||
|
|
||||||
## C
|
## C
|
||||||
`time_t time (S.TIME* timer);`
|
`int time (S.TIME* timer);`
|
||||||
|
|
||||||
## ASM
|
## ASM
|
||||||
`>LDYA timer`
|
`>PUSHW timer`
|
||||||
`>SYSCALL time`
|
`>SYSCALL time`
|
||||||
|
|
||||||
## RETURN VALUE
|
## RETURN VALUE
|
||||||
@ -1282,8 +1282,8 @@ S.TIME filled with System date/time
|
|||||||
`int PTime2Time (long* ptime, S.TIME* timer);`
|
`int PTime2Time (long* ptime, S.TIME* timer);`
|
||||||
|
|
||||||
## ASM
|
## ASM
|
||||||
|
`>PUSHW ptime`
|
||||||
`>PUSHW timer`
|
`>PUSHW timer`
|
||||||
`>LDYA ptime`
|
|
||||||
`>SYSCALL PTime2Time`
|
`>SYSCALL PTime2Time`
|
||||||
|
|
||||||
## RETURN VALUE
|
## RETURN VALUE
|
||||||
@ -1308,8 +1308,9 @@ Convert S.TIME struct to CSTR
|
|||||||
`void strftime (char* ptr, const char* format, const struct S.TIME* timeptr );`
|
`void strftime (char* ptr, const char* format, const struct S.TIME* timeptr );`
|
||||||
|
|
||||||
## ASM
|
## ASM
|
||||||
`PUSHW timeptr`
|
`>PUSHW ptr`
|
||||||
`PUSHW format`
|
`>PUSHW format`
|
||||||
|
`>PUSHW timeptr`
|
||||||
+ %a : Abbreviated weekday name : Thu
|
+ %a : Abbreviated weekday name : Thu
|
||||||
+ %A : Full weekday name : Thursday
|
+ %A : Full weekday name : Thursday
|
||||||
+ %b : Abbreviated month name : Aug
|
+ %b : Abbreviated month name : Aug
|
||||||
@ -1325,7 +1326,6 @@ Convert S.TIME struct to CSTR
|
|||||||
+ %y : Year, last two digits (00-99)
|
+ %y : Year, last two digits (00-99)
|
||||||
+ %Y : Year four digits 2001
|
+ %Y : Year four digits 2001
|
||||||
|
|
||||||
`>LDYA ptr`
|
|
||||||
`>SYSCALL strftime`
|
`>SYSCALL strftime`
|
||||||
|
|
||||||
## RETURN VALUE
|
## RETURN VALUE
|
||||||
|
Loading…
Reference in New Issue
Block a user