zsh-workers
 help / color / mirror / code / Atom feed
* Return value from execstring(), or construct Options for a builtin?
@ 2017-06-07 10:20 Sebastian Gniazdowski
  2017-06-07 16:11 ` Bart Schaefer
  0 siblings, 1 reply; 6+ messages in thread
From: Sebastian Gniazdowski @ 2017-06-07 10:20 UTC (permalink / raw)
  To: zsh-workers

Hello
I'm finishing the unification of db/* modules, to make them use ztie / zuntie. I call backend function via:

backend_cmd = "zrtie"; // (or "zgtie")
execstring(backend_cmd, 1, 0, "ztie");

The problem is execstring() is void return type. Does it store retval somewhere?

I can also call builtin, have builtintab correctly searched, proper HashNode is obtained. But not sure how to fill Options argument. I have no options to pass:

bin_zrtie(char *nam, char **args, Options ops, UNUSED(int func));

--
Sebastian Gniazdowski
psprint /at/ zdharma.org


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-06-09  8:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-07 10:20 Return value from execstring(), or construct Options for a builtin? Sebastian Gniazdowski
2017-06-07 16:11 ` Bart Schaefer
2017-06-08 10:04   ` Sebastian Gniazdowski
2017-06-08 23:14     ` Bart Schaefer
2017-06-08 23:31       ` Bart Schaefer
2017-06-09  8:53       ` Sebastian Gniazdowski

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).