Overview
Comment: | change testbin to pass appropriate string lengths to kiosend |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
3626b335f2f332521bb024f42c518ed3 |
User & Date: | lexi on 2019-10-21 01:03:38 |
Other Links: | manifest | tags |
Context
2019-10-21
| ||
01:40 | add volatile qualifiers, add helper functions for error mechanism check-in: 6bc8ca3cac user: lexi tags: trunk | |
01:03 | change testbin to pass appropriate string lengths to kiosend check-in: 3626b335f2 user: lexi tags: trunk | |
2019-09-04
| ||
01:23 | update kcli syntax check-in: 5c1200e1a8 user: lexi tags: trunk | |
Changes
Modified mod/kcore/testbin.exe.c from [aec04b5f97] to [b799b010e3].
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
struct object { u8 a; s16 b; bool c; }; #define _slit(s) ((ksraw){Kmsz(s),s}) kbad entry(kenv e) { const char msg[] = "hello from libk\n"; ksraw ptr = { Kmsz(msg), msg }; bool maybe = true; maybe = no; if (kiosend(e.std, ptr, null) == kiocond_ok) { /* great, continue */ } else { |
| | |
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
struct object { u8 a; s16 b; bool c; }; #define _slit(s) ((ksraw){Kmsz(s) - 1,s}) kbad entry(kenv e) { const char msg[] = "hello from libk\n"; ksraw ptr = { Kmsz(msg) - 1, msg }; bool maybe = true; maybe = no; if (kiosend(e.std, ptr, null) == kiocond_ok) { /* great, continue */ } else { |