1 // SPDX-License-Identifier: GPL-2.0 1 2 #ifndef _GNU_SOURCE 3 #define _GNU_SOURCE 4 #endif 5 #include <dirent.h> 6 7 int main(void) 8 { 9 // expects non-NULL, arg3 is 'restrict 10 return scandirat(/*dirfd=*/ 0, /*dirp= 11 } 12 13 #undef _GNU_SOURCE 14
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.