Home
last modified time | relevance | path

Searched refs:S_IFSOCK (Results 1 – 25 of 47) sorted by relevance

12

/freebsd-13-stable/contrib/mtree/
HDmisc.c264 #ifdef S_IFSOCK in nodetoino()
266 return S_IFSOCK; in nodetoino()
300 #ifdef S_IFSOCK in inotype()
301 case S_IFSOCK: in inotype()
/freebsd-13-stable/crypto/openssh/openbsd-compat/
HDstrmode.c62 #ifdef S_IFSOCK in strmode()
63 case S_IFSOCK: /* socket */ in strmode()
/freebsd-13-stable/crypto/openssh/
HDsshbuf-io.c46 if ((st.st_mode & (S_IFSOCK|S_IFCHR|S_IFIFO)) == 0 && in sshbuf_load_fd()
65 if ((st.st_mode & (S_IFSOCK|S_IFCHR|S_IFIFO)) == 0 && in sshbuf_load_fd()
HDdefines.h165 #ifndef S_IFSOCK
166 # define S_IFSOCK 0 macro
/freebsd-13-stable/contrib/diff/lib/
HDfile-type.h133 # ifdef S_IFSOCK
134 # define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK)
/freebsd-13-stable/contrib/apr/file_io/unix/
HDfilestat.c46 #if !defined(BEOS) && defined(S_IFSOCK) in filetype_from_mode()
47 case S_IFSOCK: in filetype_from_mode()
60 #if !defined(BEOS) && !defined(S_IFSOCK) && defined(S_ISSOCK) in filetype_from_mode()
/freebsd-13-stable/lib/libc/string/
HDstrmode.c60 case S_IFSOCK: /* socket */ in strmode()
/freebsd-13-stable/contrib/file/src/
HDfsmagic.c381 #ifdef S_IFSOCK in file_fsmagic()
383 case S_IFSOCK: in file_fsmagic()
/freebsd-13-stable/contrib/tcsh/
HDtc.os.h261 # if !defined(S_ISSOCK) && defined(S_IFSOCK)
262 # define S_ISSOCK(a) (((a) & S_IFMT) == S_IFSOCK)
/freebsd-13-stable/tests/sys/fs/fusefs/
HDmknod.cc226 mode_t mode = S_IFSOCK | 0755; in TEST_F()
257 mode_t mode = S_IFSOCK | 0755; in TEST_F()
HDfifo.cc153 mode_t mode = S_IFSOCK | 0755; in TEST_F()
/freebsd-13-stable/sbin/hastd/
HDhastd.c223 fd, dtype2str(mode), dtype2str(S_IFSOCK)); in descriptors_assert()
236 fd, dtype2str(mode), dtype2str(S_IFSOCK)); in descriptors_assert()
250 fd, dtype2str(mode), dtype2str(S_IFSOCK)); in descriptors_assert()
273 fd, dtype2str(mode), dtype2str(S_IFSOCK)); in descriptors_assert()
287 fd, dtype2str(mode), dtype2str(S_IFSOCK)); in descriptors_assert()
/freebsd-13-stable/lib/libprocstat/
HDcommon_kvm.c173 mode |= S_IFSOCK; in nfs_filestat()
/freebsd-13-stable/usr.sbin/ppp/
HDtcp.c173 if (fstat(p->fd, &st) != -1 && (st.st_mode & S_IFSOCK)) { in tcp_Create()
HDudp.c285 if (fstat(p->fd, &st) != -1 && (st.st_mode & S_IFSOCK)) { in udp_Create()
HDserver.c229 if (!(st.st_mode & S_IFSOCK) || unlink(server.cfg.sockname) != 0) in server_Reopen()
/freebsd-13-stable/bin/pax/
HDftree.c488 case S_IFSOCK: in next_file()
/freebsd-13-stable/bin/ls/
HDprint.c511 case S_IFSOCK: in printtype()
634 case S_IFSOCK: in colortype()
/freebsd-13-stable/sys/sys/
HDstat.h276 #define S_IFSOCK 0140000 /* socket */ macro
/freebsd-13-stable/contrib/sendmail/src/
HDutil.c1934 #ifdef S_IFSOCK
1985 #ifdef S_IFSOCK
1986 case S_IFSOCK:
2060 #if defined(S_IFIFO) && (!defined(S_IFSOCK) || S_IFIFO != S_IFSOCK)
/freebsd-13-stable/usr.bin/stat/
HDstat.c870 case S_IFSOCK: sdata = "="; break; in format1()
888 case S_IFSOCK: sdata = "Socket"; break; in format1()
/freebsd-13-stable/usr.sbin/fmtree/
HDcompare.c343 case S_IFSOCK: in inotype()
/freebsd-13-stable/bin/cp/
HDcp.c573 case S_IFSOCK: in copy()
/freebsd-13-stable/contrib/libarchive/libarchive/
HDarchive_read_support_format_mtree.c1303 #ifdef S_IFSOCK in parse_file()
1304 ||((st->st_mode & S_IFSOCK) == S_IFSOCK && in parse_file()
/freebsd-13-stable/usr.sbin/setfmac/
HDsetfmac.c370 entry->mode = S_IFSOCK; in add_spec_line()

12