Searched refs:stat (Results 151 - 175 of 2893) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/stat/vmstat/
H A DMakefile31 include $(SRC)/cmd/stat/Makefile.stat
/illumos-gate/usr/src/lib/libpkg/common/
H A Disdir.c34 #include <sys/stat.h>
94 struct stat statbuf;
98 if (stat(path, &statbuf) != 0) {
127 struct stat statbuf;
139 if (stat(file, &statbuf) != 0) {
173 struct stat statb;
243 struct stat statbuf;
268 struct stat statbuf;
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dscr_dump.c45 #include <sys/stat.h>
161 struct stat tty, dump;
168 || stat(f, &dump) != 0 || stat(ctermid((char *) 0), &tty) != 0
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dscr_dump.c50 #include <sys/stat.h>
155 struct stat tty, dump;
160 stat(f, &dump) != 0 || name == NULL || stat(name, &tty) != 0)
/illumos-gate/usr/src/lib/libnisdb/
H A Dldap_ldap.c68 int scope, i, stat, nrv = 0, freeBase = 0; local
108 &stat, 0);
109 if (stat != 0) {
149 rv = ldapSearch(ls, &nrv, 0, &stat);
158 if (np_ldap_stat != NULL && stat == LDAP_NO_SUCH_OBJECT)
163 (stat == LDAP_NO_SUCH_OBJECT)?LOG_DEBUG:LOG_ERR,
165 myself, attrName, stat, ldap_err2string(stat),
237 int stat, i, ix, six, nix; local
282 ls.base = appendBase(ls.base, defBase, &stat,
[all...]
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dxdr_array.c73 bool_t stat = TRUE; local
109 for (i = 0; (i < c) && stat; i++) {
110 stat = (*elproc)(xdrs, target);
121 return (stat);
H A Dxdr_refer.c69 bool_t stat; local
85 stat = (*proc)(xdrs, loc, LASTUNSIGNED);
91 return (stat);
/illumos-gate/usr/src/lib/libresolv2/common/bsd/
H A Dreadv.c9 #include <sys/stat.h>
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dmkdir.c28 #include <sys/stat.h>
/illumos-gate/usr/src/cmd/sgs/libldmake/common/
H A Dlock.c35 #include <sys/stat.h>
94 struct stat statb;
95 struct stat fs_statb;
144 if (stat(tmpname, &fs_statb) == -1) {
146 (const char *)"stat(%s)", tmpname, 0,
/illumos-gate/usr/src/cmd/streams/log/
H A Dstrclean.c36 #include "sys/stat.h"
52 static int clean(const char *name, const struct stat *stp, int info);
60 struct stat stbuf;
102 if ((stat(logname, &stbuf) < 0) || !(stbuf.st_mode & DIRECTORY)) {
145 clean(const char *name, const struct stat *stp, int info)
/illumos-gate/usr/src/cmd/svc/startd/
H A Dproc.c36 #include <sys/stat.h>
/illumos-gate/usr/src/tools/cscope-fast/
H A Dvpopen.c37 #include <sys/stat.h>
/illumos-gate/usr/src/uts/common/io/1394/adapters/
H A Dhci1394_extern.c37 #include <sys/stat.h>
/illumos-gate/usr/src/lib/sun_fc/common/
H A DInternalError.cc34 #include <sys/stat.h>
/illumos-gate/usr/src/psm/stand/boot/sparc/common/
H A Dnfsconf.c31 #include <sys/stat.h>
/illumos-gate/usr/src/test/zfs-tests/cmd/
H A Dfile_common.h41 #include <sys/stat.h>
/illumos-gate/usr/src/lib/libast/common/string/
H A Dfmtdev.c35 fmtdev(struct stat* st)
/illumos-gate/usr/src/cmd/smbsrv/fksmbd/
H A Dfksmbd_ksock.c43 int pid, err, stat; local
95 err = waitpid(pid, &stat, 0);
101 if (WIFEXITED(stat)) {
102 err = WEXITSTATUS(stat);
/illumos-gate/usr/src/cmd/make/lib/makestate/
H A Dlock.c33 #include <sys/stat.h>
81 struct stat statb;
82 struct stat fs_statb;
128 if (stat(tmpname, &fs_statb) == -1) {
130 (const char *)"stat(%s)", tmpname);
/illumos-gate/usr/src/lib/pysolaris/common/
H A Dmisc.c62 idmap_stat stat; local
75 stat = idmap_getwinnamebyuid(pid, flag, &name, NULL);
77 stat = idmap_getwinnamebygid(pid, flag, &name, NULL);
78 if (stat < 0) {
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_stat.c31 * Caching stat function
40 struct stat sc_stat;
48 meta_stat(const char *filename, struct stat *sbp)
68 if (stat(filename, sbp) != 0)
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dsafechown.c13 #include <sys/stat.h>
27 struct stat fdbuf;
28 struct stat lbuf;
/illumos-gate/usr/src/lib/libtnfctl/
H A Dprb_findexec.c42 #include <sys/stat.h>
54 struct stat stat_buf;
69 if (stat(fname, &stat_buf) != -1) {
/illumos-gate/usr/src/head/
H A Dmacros.h33 #include <sys/stat.h>
55 * The global variable Statbuf is available for use as a stat(II)
56 * structure. Note that "stat.h" is included here and should
62 extern struct stat Statbuf;
63 #define exists(file) (stat(file, &Statbuf) < 0 ? 0 : Statbuf.st_mode)

Completed in 107 milliseconds

1234567891011>>