diff options
author | n <@> | 2021-11-03 13:41:31 +0200 |
---|---|---|
committer | n <@> | 2021-11-03 13:41:31 +0200 |
commit | d5770bedb0a2ff69dc12bdfa5242636a6ff62aa2 (patch) | |
tree | f8a9356d7bad203192d09bfd35efd562955fbfce /0.c | |
parent | 6b2163589e00fc2cf428e38f4a4217b6fa18b405 (diff) |
0.c
Diffstat (limited to '0.c')
-rw-r--r-- | 0.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -69,6 +69,9 @@ I main(In,O char**a)_(kinit(n,a);I r=n>1?!cmdl(a[1]):repl();Q(cmdm(""));r) TD ST{long d_ino;off_t d_off;UH d_reclen;C d_name[];}DE; #endif ssize_t getdents(I,char*,N); + #if defined(libc) && defined(__linux__) + ssize_t getdents(If,char*a,Nn)_(syscall(SYS_getdents,f,a,n)) + #endif #if !defined(libc) asm(h3(getdents)); #endif |