Home
last modified time | relevance | path

Searched refs:popen (Results 1 – 25 of 76) sorted by relevance

1234

/freebsd/lib/libc/tests/gen/
H A Dpopen_test.c78 fp = popen("exit 7", mode); in ATF_TC_BODY()
100 fp = popen("exit 9", mode); in ATF_TC_BODY()
117 fp = popen("echo hi there", mode); in ATF_TC_BODY()
144 fp = popen("read x && [ \"$x\" = abcd ]", mode); in ATF_TC_BODY()
163 fp = popen("exit 88", mode); in ATF_TC_BODY()
183 fp = popen("read x", mode); in ATF_TC_BODY()
189 fp2 = popen("read x", mode); in ATF_TC_BODY()
219 fp = popen("read x && printf '%s\\n' \"Q${x#a}\"", mode); in ATF_TC_BODY()
/freebsd/tests/sys/ses/
H A Dnondestructive.c64 pipe = popen(cmd, "r"); in do_getelmdesc()
266 pipe = popen(cmd, "r"); in do_getelmmap()
357 pipe = popen(cmd, "r"); in do_getelmstat()
412 pipe = popen(cmd, "r"); in do_getencid()
467 pipe = popen(cmd, "r"); in do_getencname()
511 pipe = popen(cmd, "r"); in do_getencstat()
555 pipe = popen(cmd, "r"); in do_getnelm()
611 pipe = popen(cmd, "r"); in do_getstring()
/freebsd/sys/dev/usb/
H A Dusb_generic.c1021 usb_fs_open(struct usb_fifo *f, struct usb_fs_open *popen, in usb_fs_open() argument
1032 if (popen->ep_index >= f->fs_ep_max) in usb_fs_open()
1035 if (f->fs_xfer[popen->ep_index] != NULL) in usb_fs_open()
1038 if (popen->max_bufsize > USB_FS_MAX_BUFSIZE) in usb_fs_open()
1039 popen->max_bufsize = USB_FS_MAX_BUFSIZE; in usb_fs_open()
1041 if (popen->max_frames & USB_FS_MAX_FRAMES_PRE_SCALE) { in usb_fs_open()
1043 popen->max_frames &= ~USB_FS_MAX_FRAMES_PRE_SCALE; in usb_fs_open()
1048 if (popen->max_frames > USB_FS_MAX_FRAMES) in usb_fs_open()
1049 popen->max_frames = USB_FS_MAX_FRAMES; in usb_fs_open()
1051 if (popen->max_frames == 0) in usb_fs_open()
[all …]
/freebsd/usr.sbin/cron/doc/
H A DMakefile.vixie86 env.c job.c user.c popen.c misc.c
89 misc.c job.c do_command.c env.c popen.c
92 misc.o env.o popen.o
/freebsd/contrib/netbsd-tests/lib/libc/stdio/
H A Dt_popen.c90 if ((my_pipe = popen(command, "w")) == NULL) in ATF_TC_BODY()
101 if ((my_pipe = popen(command, "r")) == NULL) in ATF_TC_BODY()
/freebsd/tools/tools/git/
H A Dmfc-candidates.lua13 local handle = assert(io.popen(command))
36 local handle = assert(io.popen(command))
57 local handle = assert(io.popen(command))
/freebsd/libexec/nuageinit/
H A Dnuage.lua92 local f = io.popen(cmd .. " usershow " .. pwd.name .. " -7 2> /dev/null")
138 local f = io.popen(cmd, "w")
169 local f = io.popen(cmd .. " groupshow " .. grp.name .. " 2> /dev/null")
/freebsd/sbin/devd/tests/
H A Dclient_test.c53 create_stdout = popen("mdconfig -a -s 64 -t null", "r"); in create_two_events()
61 destroy_stdout = popen(destroy_cmd, "r"); in create_two_events()
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerUtilPosix.cpp94 FILE *Pipe = popen(Cmd.toString().c_str(), "r"); in ExecuteCommand()
166 return popen(Command, Mode); in OpenProcessPipe()
/freebsd/usr.sbin/cron/cron/
H A DMakefile5 SRCS= cron.c database.c do_command.c job.c user.c popen.c
/freebsd/usr.sbin/autofs/
H A DMakefile11 SRCS+= popen.c
/freebsd/rescue/librescue/
H A DMakefile22 SRCS= exec.c getusershell.c login_class.c popen.c rcmdsh.c \
/freebsd/sbin/ipf/libipf/
H A Dsave_execute.c69 fp = popen(exe->path, "w"); in execute_send()
/freebsd/libexec/ftpd/
H A DMakefile8 SRCS= ftpd.c ftpcmd.y logwtmp.c popen.c
/freebsd/usr.bin/mail/
H A DMakefile4 getname.c head.c v7.local.c lex.c list.c main.c names.c popen.c \
/freebsd/bin/ed/
H A Dio.c39 fp = (*fn == '!') ? popen(fn + 1, "r") : fopen(strip_escapes(fn), "r"); in read_file()
146 fp = (*fn == '!') ? popen(fn+1, "w") : fopen(strip_escapes(fn), mode); in write_file()
/freebsd/crypto/heimdal/appl/ftp/ftpd/
H A DMakefile.am23 popen.c \
/freebsd/usr.bin/whereis/
H A Dwhereis.c294 if ((p = popen(MANPATHCMD, "r")) == NULL) in defaults()
495 if ((p = popen(cp, "r")) != NULL) { in main()
605 if ((p = popen(cp, "r")) == NULL) in main()
/freebsd/contrib/less/
H A Dfilename.c569 fd = popen(cmd, "r"); in shellcmd()
576 fd = popen(scmd, "r"); in shellcmd()
582 fd = popen(cmd, "r"); in shellcmd()
585 * Redirection in `popen' might have messed with the in shellcmd()
H A Dlsystem.c298 if ((f = popen(cmd, "w")) == NULL) in pipe_data()
/freebsd/lib/libc/gen/
H A DMakefile.inc113 popen.c \
264 popen.3 \
453 MLINKS+=popen.3 pclose.3
H A Dpopen.c64 popen(const char *command, const char *type) in popen() function
/freebsd/tests/atf_python/sys/net/
H A Dtools.py15 return os.popen(cmd).read()
/freebsd/libexec/rpc.rwalld/
H A Drwalld.c152 pfp = popen(WALL_CMD, "w"); in wallproc_wall_1_svc()
/freebsd/contrib/blocklist/port/
H A Dpopenve.c63 __weak_alias(popen,_popen)

1234