Logo Search packages:      
Sourcecode: mingw-w64 version File versions  Download package

t_fstat.c
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>

int main(int argc, char *argv[])
{
    struct stat st;
    if (0 == fstat(0, &st))
        printf("mode = %x\n", st.st_mode);
    return 0;
}


Generated by  Doxygen 1.6.0   Back to index