I am new to writing assembly in linux and I need help with the sys_read call. I am using nasm and I would like to read input from the keyboard. I know how to set the call up but what do I use for the file descriptor. I can not find a list of the file descriptors.

finally found what I was looking for.

commented: Excellent - didn't give up at the first post, and marked solved. +24

...and of course, you didn't care to share, but cared enough to inform everybody you're happy with the solution that you've found.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.