// SPDX-License-Identifier: GPL-2.0#ifndef _GNU_SOURCE#define _GNU_SOURCE#endif#include<dirent.h>intmain(void){// expects non-NULL, arg3 is 'restrict' so "pointers" have to be differentreturnscandirat(/*dirfd=*/0,/*dirp=*/(void*)1,/*namelist=*/(void*)2,/*filter=*/(void*)3,/*compar=*/(void*)4);}#undef _GNU_SOURCE