DIRBUF
lfree(dirp->dd_buf, DIRBUF);
void *buf = lmalloc(DIRBUF);
lfree(buf, DIRBUF);
(dirent64_t *)(uintptr_t)dirp->dd_buf, DIRBUF)) <= 0) {
(dirent_t *)(uintptr_t)dirp->dd_buf, DIRBUF)) <= 0) {
(dirent64_t *)(uintptr_t)dirp->dd_buf, DIRBUF)) <= 0) {
(dirent_t *)(uintptr_t)dirp->dd_buf, DIRBUF)) <= 0) {
if ((buflen = getdents64(procfd, dp, DIRBUF)) <= 0) {
if ((dirbuf = lmalloc(DIRBUF)) == NULL)
lfree(dirbuf, DIRBUF);
lfree(dirbuf, DIRBUF);
if ((dirbuf = lmalloc(DIRBUF)) == NULL)
lfree(dirbuf, DIRBUF);
lfree(dirbuf, DIRBUF);
#define DIRBLKSIZ DIRBUF
(struct dirent64 *)dirp->dd_buf, DIRBUF)) <= 0) {