Lines Matching refs:stat

136 		struct stat		my_sb;
139 my_err = stat( &g_target_path[0], &my_sb );
141 printf( "stat call failed with error %d - \"%s\" \n", errno, strerror( errno) );
193 struct stat my_sb;
417 my_err = stat( my_pathp, &my_sb );
419 printf( "stat call failed with error %d - \"%s\" \n", errno, strerror( errno) );
456 struct stat my_sb;
625 * Test link, stat and unlink system calls.
636 struct stat my_sb;
667 my_err = stat( my_pathp, &my_sb );
669 printf( "stat call failed. got errno %d - %s. \n", errno, strerror( errno ) );
676 printf( "stat structure looks bogus for test file \"%s\" \n", my_pathp );
708 my_err = stat( my_pathp, &my_sb );
710 printf( "stat call failed. got errno %d - %s. \n", errno, strerror( errno ) );
714 printf( "stat structure looks bogus for test file \"%s\" \n", my_pathp );
721 printf( "stat structure looks bogus for test file \"%s\" \n", my_pathp );
732 my_err = stat( my_pathp, &my_sb );
734 printf( "stat call failed. got errno %d - %s. \n", errno, strerror( errno ) );
738 printf( "stat structure looks bogus for test file \"%s\" \n", my_pathp );
773 struct stat my_sb;
774 struct stat my_sb2;
795 /* test by doing a stat on the test file using a full path and a partial path.
798 my_err = stat( my_pathp, &my_sb );
800 printf( "stat call failed. got errno %d - %s. \n", errno, strerror( errno ) );
804 /* now do the chdir to our test directory and then do the stat relative to that location */
813 my_err = stat( my_file_namep, &my_sb2 );
815 printf( "stat call failed. got errno %d - %s. \n", errno, strerror( errno ) );
819 /* both stat buffers should contain the same data since they should be referencing the same
825 printf( "chdir call appears to have failed. stat buffer contents do not match! \n" );
837 my_err = stat( my_file_namep, &my_sb2 );
857 my_err = stat( my_file_namep, &my_sb2 );
859 printf( "stat call failed. got errno %d - %s. \n", errno, strerror( errno ) );
863 /* both stat buffers should contain the same data since they should be referencing the same
869 printf( "chdir call appears to have failed. stat buffer contents do not match! \n" );
904 struct stat my_sb;
960 my_err = stat( my_pathp, &my_sb );
962 printf( "stat call failed. got errno %d - %s. \n", errno, strerror( errno ) );
968 printf( "chmod call appears to have failed. stat shows incorrect values in st_mode! \n" );
1062 my_err = stat( my_pathp, &my_sb );
1064 printf( "stat call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1071 printf( "fchmod call appears to have failed. stat shows incorrect values in st_mode! \n" );
1125 struct stat my_sb;
1174 my_err = stat( my_pathp, &my_sb );
1176 printf( "stat call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1207 my_err = stat( my_pathp, &my_sb );
1209 printf( "stat call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1232 my_err = stat( my_pathp, &my_sb );
1234 printf( "stat call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1919 struct stat my_sb;
1939 my_err = stat( my_pathp, &my_sb );
1941 printf( "stat call failed with error %d - \"%s\" \n", errno, strerror( errno) );
1967 my_err = stat( my_pathp, &my_sb );
1969 printf( "stat call failed with error %d - \"%s\" \n", errno, strerror( errno) );
2050 struct stat sb;
3087 struct stat my_sb;
3119 my_err = stat( my_pathp, &my_sb );
3121 printf( "stat call failed with error %d - \"%s\" \n", errno, strerror( errno) );
3207 struct stat my_sb;
3217 my_err = stat( "/", &my_sb );
3219 printf( "stat call failed with error %d - \"%s\" \n", errno, strerror( errno) );
3541 struct stat my_sb;
3602 my_err = stat( my_pathp, &my_sb );
3604 printf( "stat - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3619 my_err = stat( my_pathp, &my_sb );
3621 printf( "stat - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3647 my_err = stat( my_pathp, &my_sb );
3649 printf( "stat - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3677 * Test rename, stat system calls.
3686 struct stat my_sb;
3722 my_err = stat( my_pathp, &my_sb );
3724 printf( "stat - failed with error %d - \"%s\" \n", errno, strerror( errno) );
3737 my_err = stat( my_pathp, &my_sb );
3744 my_err = stat( my_new_pathp, &my_sb );
3746 printf( "stat - failed with error %d - \"%s\" \n", errno, strerror( errno) );