opnsense-src/usr.bin/tee
Kyle Evans 1b3748977f tee: try opening as a UNIX socket if open(2) fails
If we get EOPNOTSUPP from open() failing, then it may just be that we're
looking at a unix(4) socket instead of a normal file/device or whatnot.
Fallback to trying to open it as a unix(4) socket, which is a useful
feature that doesn't add much complexity.

Reviewed by:	des, emaste, markj
Differential Revision:	https://reviews.freebsd.org/D48197
2025-04-20 11:35:34 -05:00
..
tests tee: try opening as a UNIX socket if open(2) fails 2025-04-20 11:35:34 -05:00
Makefile tee: add some basic tests 2025-04-20 11:35:32 -05:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
tee.1 tee: try opening as a UNIX socket if open(2) fails 2025-04-20 11:35:34 -05:00
tee.c tee: try opening as a UNIX socket if open(2) fails 2025-04-20 11:35:34 -05:00