flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
z33ky 26 May 2010, 12:49
Maybe someone else could test it on their Linux and see if they get the same result?
The value of __NFDBITS is in sys/select.h (the type __fd_mask as well) and __FD_SETSIZE (__NFD_SETSIZE in that assembly up there; typo) in bits/typesizes.h. |
|||
![]() |
|
Endre 26 May 2010, 13:00
What if you change the line
Code: SYSCALL_SELECT equ 82 Code: SYSCALL_SELECT equ 142 I think you want to use sys_select but you just call to old_select (note: Linux has two select syscalls, additionally they expect different parameters) |
|||
![]() |
|
z33ky 26 May 2010, 13:48
Yes, that fixed it! Damn man pages; I thought "man select" would show the entry of old_select.
Thanks! |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.