Searched refs:shell (Results 1 - 25 of 84) sorted by relevance

1234

/haiku-fatelf/src/bin/makeudfimage/
H A Dmakeudfimage.cpp17 Shell shell; local
18 shell.Run(argc, argv);
/haiku-fatelf/src/bin/coreutils/man/
H A Dchroot.x2 chroot \- run command or interactive shell with special root directory
H A Dsu.x2 su \- run a shell with substitute user and group IDs
/haiku-fatelf/src/tests/
H A DUnitTester.cpp62 UnitTesterShell shell("Haiku Unit Testing Framework",
66 //shell.AddTest("Example", ExampleTest::Suite());
68 BTestShell::SetGlobalShell(&shell);
72 int result = shell.Run(argc, argv);
74 // Unset global shell, just to be sure
/haiku-fatelf/src/bin/coreutils/src/
H A Dsu.c1 /* su for GNU. Run a shell with substitute user and group IDs.
17 /* Run a shell with the real and effective UID and GID and groups
20 The shell run is taken from USER's password entry, /bin/sh if
27 The subshell is not a login shell.
108 /* The shell to run if none is given in the user's passwd entry. */
122 /* If true, simulate a login instead of just starting a shell. */
134 {"shell", required_argument, NULL, 's'},
170 the user, especially if someone su's from a su-shell. */
237 /* Update `environ' for the new shell based on PW, with SHELL being
241 modify_environment (const struct passwd *pw, const char *shell) argument
302 run_shell(char const *shell, char const *command, char **additional_args, size_t n_additional_args) argument
344 restricted_shell(const char *shell) argument
397 char *shell = NULL; local
[all...]
H A Ddircolors.c80 {"bourne-shell", no_argument, NULL, 'b'},
83 {"c-shell", no_argument, NULL, 'c'},
103 -b, --sh, --bourne-shell output Bourne shell code to set LS_COLORS\n\
104 -c, --csh, --c-shell output C shell code to set LS_COLORS\n\
122 assume C shell. Else Bourne shell. */
127 char *shell; local
129 shell
[all...]
H A Dchroot.c1 /* chroot -- run command or shell with special root directory
198 /* No command. Run an interactive shell. */
199 char *shell = getenv ("SHELL"); local
200 if (shell == NULL)
201 shell = bad_cast ("/bin/sh");
202 argv[0] = shell;
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/
H A DMakefile23 # The following value is the shell return value of a timedout application.
24 # with the bash shell, the ret val of a killed application is 128 + signum
26 TIMEOUT_RET = $(shell cat $(top_builddir)/t0.val)
32 LDFLAGS := $(shell cat LDFLAGS | grep -v \^\#)
34 RUN_TESTS := $(shell $(top_builddir)/locate-test \
36 BUILD_TESTS := $(shell $(top_builddir)/locate-test \
38 FUNCTIONAL_MAKE := $(shell $(top_builddir)/locate-test --fmake)
39 FUNCTIONAL_RUN := $(shell $(top_builddir)/locate-test --frun)
40 STRESS_MAKE := $(shell $(top_builddir)/locate-test --smake)
41 STRESS_RUN := $(shell
[all...]
/haiku-fatelf/src/bin/less/
H A Dlsystem.c38 * Pass the specified command to a shell to be executed.
48 register char *shell; local
123 * If the command is empty, just invoke a shell.
127 if ((shell = lgetenv("SHELL")) != NULL && *shell != '\0')
130 p = save(shell);
136 int len = strlen(shell) + strlen(esccmd) + 5;
138 SNPRINTF3(p, len, "%s %s %s", shell, shell_coption(), esccmd);
237 * Pipe a section of the input file into the given shell command.
279 * Create a pipe to the given shell comman
[all...]
/haiku-fatelf/src/apps/codycam/
H A Dmakefile60 ifeq ($(shell uname -m), BePC)
/haiku-fatelf/src/bin/bash/lib/sh/
H A Dstrerror.c37 #include <shell.h>
/haiku-fatelf/src/libs/fluidsynth/src/
H A Dfluid_cmd.c43 fluid_settings_register_str(settings, "shell.prompt", "", 0, NULL, NULL);
44 fluid_settings_register_int(settings, "shell.port", 9800, 1, 65535, 0, NULL, NULL);
209 int fluid_shell_run(fluid_shell_t* shell);
210 void fluid_shell_init(fluid_shell_t* shell,
218 fluid_shell_t* shell = FLUID_NEW(fluid_shell_t); local
219 if (shell == NULL) {
225 fluid_shell_init(shell, settings, handler, in, out);
228 shell->thread = new_fluid_thread((fluid_thread_func_t) fluid_shell_run, shell, 1);
229 if (shell
242 fluid_shell_init(fluid_shell_t* shell, fluid_settings_t* settings, fluid_cmd_handler_t* handler, fluid_istream_t in, fluid_ostream_t out) argument
252 delete_fluid_shell(fluid_shell_t* shell) argument
262 fluid_shell_run(fluid_shell_t* shell) argument
317 fluid_shell_t shell; local
326 fluid_shell_t shell; local
1785 fluid_shell_t shell; local
[all...]
/haiku-fatelf/src/bin/bash/builtins/
H A DMakefile261 bashgetopt.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/bashjmp.h
269 common.o: $(topdir)/shell.h $(topdir)/syntax.h ../config.h $(topdir)/bashjmp.h $(BASHINCDIR)/posixjmp.h
281 evalfile.o: $(topdir)/shell.h $(topdir)/syntax.h ../config.h $(topdir)/bashjmp.h
291 evalstring.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/bashjmp.h $(BASHINCDIR)/posixjmp.h
302 getopt.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/bashjmp.h $(topdir)/command.h
317 alias.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h
322 bind.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h
327 break.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h
332 builtin.o: $(topdir)/shell.h $(topdir)/syntax.h $(topdir)/unwind_prot.h $(topdir)/variables.h $(topdir)/conftypes.h
337 cd.o: $(topdir)/shell
[all...]
/haiku-fatelf/src/bin/coreutils/
H A DGNUmakefile23 # Systems where /bin/sh is not the default shell need this. The $(shell)
28 # will be used only with the next shell-test line, then overwritten
35 _have-Makefile := $(shell test -f Makefile && echo yes)
57 $(shell test -f $(srcdir)/$(_build-aux)/git-version-gen && echo yes)
63 _curr-ver := $(shell cd $(srcdir) \
81 _dummy := $(shell $(MAKE) $(AM_MAKEFLAGS) _version)
/haiku-fatelf/src/bin/gdb/gdb/
H A Dfork-child.c88 /* When executing a command under the given shell, return non-zero if
98 that the shell name ends with 'csh', which covers at least csh
115 pass. SHELL_FILE is the shell file, or NULL if we should pick
138 int shell = 0; local
148 do a fork/exec, no shell, so don't bother figuring out what
149 shell. */
153 /* Figure out what shell to start up the user program under. */
158 shell = 1;
175 if (!shell)
188 /* We're going to call a shell
[all...]
/haiku-fatelf/src/bin/network/wget/
H A DGNUmakefile23 # Systems where /bin/sh is not the default shell need this. The $(shell)
28 # will be used only with the next shell-test line, then overwritten
35 _have-Makefile := $(shell test -f Makefile && echo yes)
57 $(shell test -f $(srcdir)/$(_build-aux)/git-version-gen && echo yes)
63 _curr-ver := $(shell cd $(srcdir) \
81 _dummy := $(shell $(MAKE) $(AM_MAKEFLAGS) _version)
/haiku-fatelf/src/bin/multiuser/
H A Duseradd.cpp34 " [ -s <shell> ] [ -n <real name> ]\n"
52 const char* shell = "/bin/sh"; local
98 shell = optarg;
170 || message.AddString("shell", shell) != B_OK
/haiku-fatelf/src/bin/bash/
H A DMakefile154 # some platforms and general shell utility functions
223 $(RL_LIBSRC)/shell.c $(RL_LIBSRC)/savestring.c \
238 $(RL_LIBDIR)/shell.o $(RL_LIBDIR)/savestring.o \
255 $(HIST_LIBSRC)/shell.c \
259 $(HIST_LIBDIR)/shell.o
353 # The shell itself
357 CSOURCES = shell.c eval.c parse.y general.c make_cmd.c print_cmd.c y.tab.c \
366 HSOURCES = shell.h flags.h trap.h hashcmd.h hashlib.h jobs.h builtins.h \
385 OBJECTS = shell.o eval.o y.tab.o general.o make_cmd.o print_cmd.o $(GLOBO) \
393 # Where the source code of the shell builtin
[all...]
H A Dshell.h0 /* shell.h -- The data structures used by the shell */
58 /* Special exit statuses used by the shell, internally and externally. */
66 #define EX_BADSYNTAX 257 /* shell syntax error */
111 char *shell; /* shell from the password file */ member in struct:user_info
/haiku-fatelf/src/system/libroot/posix/
H A Duser_group_common.cpp163 uid_t uid, gid_t gid, const char* home, const char* shell,
172 entry->pw_shell = buffer_dup_string(shell, buffer, bufferSize);
196 uid_t& uid, gid_t& gid, char*& home, char*& shell, char*& realName)
206 shell = tokenizer.NextTrimmedToken(':');
210 if (shell == NULL || (nameLen = strlen(name)) == 0
216 || strlen(shell) >= MAX_PASSWD_SHELL_LEN) {
162 copy_passwd_to_buffer(const char* name, const char* password, uid_t uid, gid_t gid, const char* home, const char* shell, const char* realName, passwd* entry, char* buffer, size_t bufferSize) argument
195 parse_passwd_line(char* line, char*& name, char*& password, uid_t& uid, gid_t& gid, char*& home, char*& shell, char*& realName) argument
/haiku-fatelf/src/tools/docbook/libxml2/
H A Dxmlcatalog.c33 static int shell = 0; variable
301 printf("\texit: quit the shell\n");
318 \t--shell : run a shell allowing interactive queries\n\
356 } else if ((!strcmp(argv[i], "-shell")) ||
357 (!strcmp(argv[i], "--shell"))) {
358 shell++;
551 } else if (shell) {
/haiku-fatelf/headers/private/libroot/
H A Duser_group.h107 gid_t gid, const char* home, const char* shell, const char* realName,
113 gid_t& gid, char*& home, char*& shell, char*& realName);
/haiku-fatelf/headers/libs/fluidsynth/fluidsynth/
H A Dshell.h34 * The shell interface allows you to send simple textual commands to
55 char* name; /** The name of the command, as typed in in the shell */
115 FLUIDSYNTH_API void delete_fluid_shell(fluid_shell_t* shell);
/haiku-fatelf/src/preferences/dun/
H A Dmakefile159 ifeq ($(shell uname -r), 5.1)
/haiku-fatelf/headers/tools/cppunit/
H A DTestShell.h55 // in a BTestSuite object) to the list of available tests. The shell assumes
98 static void SetGlobalShell(BTestShell *shell) { fGlobalShell = shell; }; argument

Completed in 292 milliseconds

1234