summaryrefslogblamecommitdiff
path: root/test/access.c
blob: 4f18431f18c7a30f6ca543f0720a24d91cbb1231 (plain) (tree)
1
2

                 














                                                         
/*
 * Items: access(
 * Standardized-By: SuS
 * Not-Detected-by: gcc-4.4.3 + Linux
 */

#include <unistd.h>

main(int arg, char **argv)
{
    /* 
     * Note: use of a symbolic constant like F_OK *will* 
     * cause the compile to fail and the requrement
     * for <unistd.h> to be tetected.
     */
    (void)access("/dev/null", 0);
}