Lines Matching refs:fprintf
267 fprintf(temp, "A call to int nftw(const char *path, int (*fn)(const\n"); in main()
268 fprintf(temp, "char *, const struct stat *, int, struct FTW *), int\n"); in main()
269 fprintf(temp, "depth, int flags) shall recursively descend the\n"); in main()
270 fprintf(temp, "directory hierarchy rooted in path until it has\n"); in main()
271 fprintf(temp, in main()
273 fprintf(temp, "each object in the directory tree, and return 0.\n\n"); in main()
282 fprintf(temp, "A call to int nftw(const char *path, int (*fn)(const\n"); in main()
283 fprintf(temp, "char *, const struct stat *, int, struct FTW *), int\n"); in main()
284 fprintf(temp, "depth, int flags) when flags contains FTW_PHYS shall\n"); in main()
285 fprintf(temp, "not traverse symbolic links.\n\n"); in main()
294 fprintf(temp, "A call to int nftw(const char *path, int (*fn)(const\n"); in main()
295 fprintf(temp, "char *, const struct stat *, int, struct FTW *), int\n"); in main()
296 fprintf(temp, in main()
298 fprintf(temp, in main()
300 fprintf(temp, "not report the same file twice.\n\n"); in main()
309 fprintf(temp, "A call to int nftw(const char *path, int (*fn)(const\n"); in main()
310 fprintf(temp, "char *, const struct stat *, int, struct FTW *), int\n"); in main()
311 fprintf(temp, in main()
313 fprintf(temp, "report all files in a directory before reporting the\n"); in main()
314 fprintf(temp, "directory.\n\n"); in main()
323 fprintf(temp, "A call to int nftw(const char *path, int (*fn)(const\n"); in main()
324 fprintf(temp, "char *, const struct stat *, int, struct FTW *), int\n"); in main()
325 fprintf(temp, "depth, int flags) when flags does not contain\n"); in main()
326 fprintf(temp, "FTW_DEPTH shall report a directory before reporting\n"); in main()
327 fprintf(temp, "the files in that directory.\n\n"); in main()
336 fprintf(temp, "A call to int nftw(const char *path, int (*fn)(const\n"); in main()
337 fprintf(temp, "char *, const struct stat *, int, struct FTW *), int\n"); in main()
338 fprintf(temp, in main()
340 fprintf(temp, in main()
342 fprintf(temp, "as it reports files in that directory.\n\n"); in main()
351 fprintf(temp, "A call to int nftw(const char *path, int (*fn)(const\n"); in main()
352 fprintf(temp, "char *, const struct stat *, int, struct FTW *), int\n"); in main()
353 fprintf(temp, "depth, int flags) shall pass the path-name of the\n"); in main()
354 fprintf(temp, "current object as the first argument of the function\n"); in main()
355 fprintf(temp, "fn.\n\n"); in main()
364 fprintf(temp, "A call to int nftw(const char *path, int (*fn)(const\n"); in main()
365 fprintf(temp, "char *, const struct stat *, int, struct FTW *), int\n"); in main()
366 fprintf(temp, "depth, int flags) shall pass a pointer to a stat\n"); in main()
367 fprintf(temp, "structure containing information about the current\n"); in main()
368 fprintf(temp, "object as the second argument to fn.\n\n"); in main()
377 fprintf(temp, "A call to int nftw(const char *path, int (*fn)(const\n"); in main()
378 fprintf(temp, "char *, const struct stat *, int, struct FTW *), int\n"); in main()
379 fprintf(temp, "depth, int flags) shall pass FTW_F as the third\n"); in main()
380 fprintf(temp, in main()
390 fprintf(temp, "A call to int nftw(const char *path, int (*fn)(const\n"); in main()
391 fprintf(temp, "char *, const struct stat *, int, struct FTW *), int\n"); in main()
392 fprintf(temp, "depth, int flags) shall pass FTW_D as the third\n"); in main()
393 fprintf(temp, "argument of the function fn when the object is a\n"); in main()
394 fprintf(temp, "directory.\n\n"); in main()
403 fprintf(temp, "A call to int nftw(const char *path, int (*fn)(const\n"); in main()
404 fprintf(temp, "char *, const struct stat *, int, struct FTW *), int\n"); in main()
405 fprintf(temp, "depth, int flags) shall pass FTW_DP as the third\n"); in main()
406 fprintf(temp, "argument of the function fn when the object is a\n"); in main()
407 fprintf(temp, "directory and subdirectories have been visited.\n\n"); in main()
416 fprintf(temp, "A call to int nftw(const char *path, int (*fn)(const\n"); in main()
417 fprintf(temp, "char *, const struct stat *, int, struct FTW *), int\n"); in main()
418 fprintf(temp, "depth, int flags) shall pass FTW_SL as the third\n"); in main()
419 fprintf(temp, "argument of the function fn when the object is a\n"); in main()
420 fprintf(temp, "symbolic link.\n\n"); in main()
429 fprintf(temp, "A call to int nftw(const char *path, int (*fn)(const\n"); in main()
430 fprintf(temp, "char *, const struct stat *, int, struct FTW *), int\n"); in main()
431 fprintf(temp, "depth, int flags) shall pass FTW_SLN as the third\n"); in main()
432 fprintf(temp, "argument of the function fn when the object is a\n"); in main()
433 fprintf(temp, "symbolic link that does not name an existing file.\n\n"); in main()
442 fprintf(temp, "A call to int nftw(const char *path, int (*fn)(const\n"); in main()
443 fprintf(temp, "char *, const struct stat *, int, struct FTW *), int\n"); in main()
444 fprintf(temp, "depth, int flags) shall pass FTW_DNR as the third\n"); in main()
445 fprintf(temp, "argument of the function fn when the object is a\n"); in main()
446 fprintf(temp, "directory that cannot be read.\n\n"); in main()
455 fprintf(temp, "A call to int nftw(const char *path, int (*fn)(const\n"); in main()
456 fprintf(temp, "char *, const struct stat *, int, struct FTW *), int\n"); in main()
457 fprintf(temp, "depth, int flags) shall pass FTW_NS as the third\n"); in main()
458 fprintf(temp, in main()
460 fprintf(temp, "object because of lack of appropriate permission.\n\n"); in main()
469 fprintf(temp, "A call to int nftw(const char *path, int (*fn)(const\n"); in main()
470 fprintf(temp, "char *, const struct stat *, int, struct FTW *), int\n"); in main()
471 fprintf(temp, "depth, int flags) shall pass a structure which\n"); in main()
472 fprintf(temp, "contains the offset into the pathname of the object\n"); in main()
473 fprintf(temp, "and the depth relative to the root of the walk\n"); in main()
474 fprintf(temp, in main()
476 fprintf(temp, "fn.\n\n"); in main()
485 fprintf(temp, "A call to int nftw(const char *path, int (*fn)(const\n"); in main()
486 fprintf(temp, "char *, const struct stat *, int, struct FTW *), int\n"); in main()
487 fprintf(temp, "depth, int flags) shall pass FTW_SL as the third\n"); in main()
488 fprintf(temp, "argument to the function fn if and only if the\n"); in main()
489 fprintf(temp, "FTW_PHYS flag is included in flags.\n\n"); in main()
498 fprintf(temp, "A call to int nftw(const char *path, int (*fn)(const\n"); in main()
499 fprintf(temp, "char *, const struct stat *, int, struct FTW *), int\n"); in main()
500 fprintf(temp, "depth, int flags) shall pass FTW_SLN as the third\n"); in main()
501 fprintf(temp, "argument to the function fn if and only if the\n"); in main()
502 fprintf(temp, "FTW_PHYS flag is not included in flags.\n\n"); in main()
511 fprintf(temp, "On a call to int nftw(const char *path, int\n"); in main()
512 fprintf(temp, "(*fn)(const char *, const struct stat *, int, struct\n"); in main()
513 fprintf(temp, in main()
515 fprintf(temp, "passed to the function fn is FTW_DNR then the\n"); in main()
516 fprintf(temp, in main()
526 fprintf(temp, "A call to int nftw(const char *path, int (*fn)(const\n"); in main()
527 fprintf(temp, "char *, const struct stat *, int, struct FTW *), int\n"); in main()
528 fprintf(temp, in main()
530 fprintf(temp, in main()
540 fprintf(temp, "On a call to int nftw(const char *path, int\n"); in main()
541 fprintf(temp, "(*fn)(const char *, const struct stat *, int, struct\n"); in main()
542 fprintf(temp, "FTW *), int depth, int flags) depth shall be the\n"); in main()
543 fprintf(temp, in main()
553 fprintf(temp, "A call to int nftw(const char *path, int (*fn)(const\n"); in main()
554 fprintf(temp, "char *, const struct stat *, int, struct FTW *), int\n"); in main()
555 fprintf(temp, "depth, int flags) shall use at most one file\n"); in main()
556 fprintf(temp, "descriptor for each directory level.\n\n"); in main()
565 fprintf(temp, "A call to int nftw(const char *path, int (*fn)(const\n"); in main()
566 fprintf(temp, "char *, const struct stat *, int, struct FTW *), int\n"); in main()
567 fprintf(temp, "depth, int flags) when the function fn returns a\n"); in main()
568 fprintf(temp, "non-zero value shall stop and return the value\n"); in main()
569 fprintf(temp, "returned by fn.\n\n"); in main()
578 fprintf(temp, "ENAMETOOLONG in errno and return -1 on a call to int\n"); in main()
579 fprintf(temp, "nftw(const char *path, int (*fn)(const char *, const\n"); in main()
580 fprintf(temp, "struct stat *, int, struct FTW *), int depth, int\n"); in main()
581 fprintf(temp, "flags) when the length of path exceeds PATH_MAX.\n\n"); in main()
590 fprintf(temp, "ENAMETOOLONG in errno and return -1 on a call to int\n"); in main()
591 fprintf(temp, "nftw(const char *path, int (*fn)(const char *, const\n"); in main()
592 fprintf(temp, "struct stat *, int, struct FTW *), int depth, int\n"); in main()
593 fprintf(temp, "flags) when a component of path exceeds NAME_MAX.\n\n"); in main()
602 fprintf(temp, "ENOENT in errno and return -1 on a call to int\n"); in main()
603 fprintf(temp, "nftw(const char *path, int (*fn)(const char *, const\n"); in main()
604 fprintf(temp, "struct stat *, int, struct FTW *), int depth, int\n"); in main()
605 fprintf(temp, in main()
615 fprintf(temp, "ENOENT in errno and return -1 on a call to int\n"); in main()
616 fprintf(temp, "nftw(const char *path, int (*fn)(const char *, const\n"); in main()
617 fprintf(temp, "struct stat *, int, struct FTW *), int depth, int\n"); in main()
618 fprintf(temp, "flags) when path points to an empty string.\n\n"); in main()
627 fprintf(temp, "ENOTDIR in errno and return -1 on a call to int\n"); in main()
628 fprintf(temp, "nftw(const char *path, int (*fn)(const char *, const\n"); in main()
629 fprintf(temp, "struct stat *, int, struct FTW *), int depth, int\n"); in main()
630 fprintf(temp, "flags) when path is not a directory.\n\n"); in main()
639 fprintf(temp, "EACCES in errno and return -1 on a call to int\n"); in main()
640 fprintf(temp, "nftw(const char *path, int (*fn)(const char *, const\n"); in main()
641 fprintf(temp, "struct stat *, int, struct FTW *), int depth, int\n"); in main()
642 fprintf(temp, "flags) when search permission is denied for any\n"); in main()
643 fprintf(temp, "component of path.\n\n"); in main()
652 fprintf(temp, "EACCES in errno and return -1 on a call to int\n"); in main()
653 fprintf(temp, "nftw(const char *path, int (*fn)(const char *, const\n"); in main()
654 fprintf(temp, "struct stat *, int, struct FTW *), int depth, int\n"); in main()
655 fprintf(temp, "flags) when read permission is denied for path.\n\n"); in main()