»Runtime Library
»Python Bindings
»Known Issues
Shellcode Compiler
A custom shellcode compiler for Binary Ninja
int getdirentries(int fd, struct dirent* dirp, size_t count, ssize_t* basep);

Get count directory entries from the open directory handle fd. The struct dirent structure varies by platform, but always contains the d_name field, which holds the name of the file. If basep is not NULL, the new location in the directory stream is stored into basep. Returns the number of bytes of directory entries read, or the negation of the error code on error.

See also