Searched refs:stat (Results 1 - 25 of 1622) sorted by relevance

1234567891011>>

/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.niklas/
H A Dt139.C4 struct stat {}; struct
5 stat gstat;
6 int stat (struct stat*);
7 void f () { struct stat* ps; stat (ps); }
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.pt/
H A Dt42.C4 struct stat { struct in struct:A
6 stat (int j) { abort (); } function in struct:A::stat
8 static int stat (double d) { return 0; } // gets bogus error - cfront takes it function in struct:A
10 stat (0);
11 return stat (1); // gets bogus error - this should work
/openbsd-current/gnu/usr.bin/perl/lib/File/
H A Dstat-7896.t5 use File::stat;
8 # If (either) File::stat stops lazy loading Symbol, or Test::More starts, it
15 is(File::stat::stat('/notafile'), undef, 'invalid file should fail');
22 is(File::stat::stat('/notafile'), undef, 'invalid file should fail again');
25 is(File::stat::stat('/notafile'), undef, 'invalid file should fail again');
H A Dstat.t14 use File::stat;
19 my @stat = CORE::stat $file;
20 my $stat = File::stat::stat($file);
21 isa_ok($stat, 'File::stat', 'should build a stat object');
22 is_deeply($stat, \
[all...]
/openbsd-current/usr.bin/stat/
H A DMakefile4 PROG= stat
/openbsd-current/usr.bin/rdistd/
H A Dserver.h39 #include <sys/stat.h>
79 char *find_file(char *, struct stat *, int *);
80 mntent_t *findmnt(struct stat *, struct mntinfo *);
84 mntent_t *getmntpt(char *, struct stat *, int *);
85 int is_nfs_mounted(char *, struct stat *, int *);
86 int is_ro_mounted(char *, struct stat *, int *);
87 int is_symlinked(char *, struct stat *, int *);
/openbsd-current/gnu/gcc/fixincludes/tests/base/sys/
H A Dstat.h5 "fixinc/tests/inc/sys/stat.h"
27 static int stat(const char *__f, struct stat *__p) { function
38 static int stat(__f, __p)
40 struct stat *__p;
52 @(#)stat.h 6.1 (ULTRIX)
66 # define __INCstath <sys/stat.h>
/openbsd-current/lib/libc/gen/
H A Disfdtype.c24 #include <sys/stat.h>
29 struct stat sb;
H A Dftok.c29 #include <sys/stat.h>
36 struct stat st;
38 if (stat(path, &st) == -1)
/openbsd-current/gnu/lib/libiberty/src/
H A Dfdmatch.c50 #include <sys/stat.h>
54 struct stat sbuf1;
55 struct stat sbuf2;
H A Dunlink-if-ordinary.c48 #include <sys/stat.h>
58 #define lstat stat
65 struct stat st;
/openbsd-current/bin/cp/
H A Dextern.h48 int copy_fifo(struct stat *, int);
51 int copy_special(struct stat *, int);
52 int setfile(struct stat *, int);
/openbsd-current/gnu/usr.bin/cvs/vms/
H A Dstat.c2 #include <stat.h>
7 struct stat *buffer;
18 rs = stat (wd, buffer);
22 rs = stat (statpath, buffer);
26 /* If stat() fails try again after appending ".dir" to the filename
27 this allows you to stat things like "bloogle/CVS" from VMS 6.1 */
29 rs = stat (statpath, buffer);
/openbsd-current/gnu/usr.bin/gcc/gcc/fixinc/tests/base/sys/
H A Dstat.h5 "fixinc/tests/inc/sys/stat.h"
32 static int stat(const char *__f, struct stat *__p) { function
43 static int stat(__f, __p)
45 struct stat *__p;
57 @(#)stat.h 6.1 (ULTRIX)
71 # define __INCstath <sys/stat.h>
/openbsd-current/usr.bin/compress/
H A Dcompress.h30 #include <sys/stat.h>
66 extern int z_close(void *, struct z_info *, const char *, struct stat *);
72 extern int gz_close(void *, struct z_info *, const char *, struct stat *);
77 extern int zip_close(void *, struct z_info *, const char *, struct stat *);
83 extern int null_close(void *, struct z_info *, const char *, struct stat *);
86 extern void setfile(const char *, int, struct stat *);
/openbsd-current/include/
H A Dftw.h27 #include <sys/stat.h>
37 #define FTW_NS 4 /* Unknown type; stat() failed. */
55 int ftw(const char *, int (*)(const char *, const struct stat *, int), int);
56 int nftw(const char *, int (*)(const char *, const struct stat *, int,
/openbsd-current/usr.bin/ssh/
H A Dsftp-common.h46 void stat_to_attrib(const struct stat *, Attrib *);
47 void attrib_to_stat(const Attrib *, struct stat *);
50 char *ls_file(const char *, const struct stat *, int, int,
/openbsd-current/regress/sys/ffs/tests/truncate/
H A D12.t12 expect 0 stat ${n0} size
15 expect 999999999999999 stat ${n0} size
/openbsd-current/regress/sys/ffs/tests/chmod/
H A D00.t15 expect 0644 stat ${n0} mode
17 expect 0111 stat ${n0} mode
21 expect 0755 stat ${n0} mode
23 expect 0753 stat ${n0} mode
27 expect 0644 stat ${n0} mode
29 expect 0310 stat ${n0} mode
34 expect 0644 stat ${n1} mode
36 expect 0321 stat ${n1} mode
43 ctime1=`${FSTEST} stat ${n0} ctime`
46 ctime2=`${FSTEST} stat
[all...]
/openbsd-current/sys/lib/libsa/
H A Dfstat.c2 /* $NetBSD: stat.c,v 1.3 1994/10/26 05:45:07 cgd Exp $ */
32 * @(#)stat.c 8.1 (Berkeley) 6/11/93
38 fstat(int fd, struct stat *sb)
53 errno = (f->f_ops->stat)(f, sb);
H A Dstat.c1 /* $OpenBSD: stat.c,v 1.7 2021/10/24 17:49:19 deraadt Exp $ */
2 /* $NetBSD: stat.c,v 1.3 1994/10/26 05:45:07 cgd Exp $ */
32 * @(#)stat.c 8.1 (Berkeley) 6/11/93
38 stat(const char *str, struct stat *sb) function
/openbsd-current/lib/libc/stdio/
H A Dremove.c37 #include <sys/stat.h>
42 struct stat st;
/openbsd-current/lib/libc/stdlib/
H A Dmktemp.c18 #include <sys/stat.h>
25 struct stat sb;
/openbsd-current/gnu/usr.bin/cvs/lib/
H A Dmkdir.c19 #include <sys/stat.h>
44 struct stat statbuf;
46 if (stat (dpath, &statbuf) == 0)
48 errno = EEXIST; /* stat worked, so it already exists. */
52 /* If stat fails for a reason other than non-existence, return error. */
93 struct stat statbuf;
95 if (stat (dpath, &statbuf) != 0)
96 return -1; /* stat set errno. */
/openbsd-current/sbin/savecore/
H A Dcompress.h30 #include <sys/stat.h>
65 extern int z_close(void *, struct z_info *, const char *, struct stat *);
71 extern int gz_close(void *, struct z_info *, const char *, struct stat *);
83 extern int null_close(void *, struct z_info *, const char *, struct stat *);
86 extern void setfile(const char *, int, struct stat *);

Completed in 319 milliseconds

1234567891011>>