in reply to Re: using Linux getdents syscall
in thread using Linux getdents syscall

For unsigned long, you should use L!, not L.

For unsigned short, you should use S!, not S.

Ref