G
G
Gena2014-11-24 21:08:01
linux
Gena, 2014-11-24 21:08:01

How to use opendir in NASM?

Can't find opendir system call number www.cs.fsu.edu/~baker/devices/lxr/http/source/linu... while readdir is. By simply calling open, no directory handle is returned. If this is not possible, then please advise how to display the contents of the directory.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
jcmvbkbc, 2014-11-24
@lukinov93

Can't find opendir system call number

There is no such system call.
Add the O_DIRECTORY flag to the flags parameter.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question