search for: add_spac

Displaying 2 results from an estimated 2 matches for "add_spac".

Did you mean: add_spec
2009 Sep 11
2
[PATCH] Add echo_daemon command
...39, USA. + */ + +#include <config.h> + +#include <string.h> + +#include "actions.h" + +char * +do_echo_daemon (char *const *argv) +{ + char *out = NULL; + size_t out_len = 0; + + /* Iterate over argv entries until reaching the NULL terminator */ + while (*argv) { + char add_space = 0; + + /* Store the end of current output */ + size_t out_end = out_len; + + /* Calculate the new output size */ + size_t arg_len = strlen(*argv); + out_len += arg_len; + + /* We will prepend a space if this isn't the first argument added */ + if (NULL != out) { + o...
2007 Feb 19
2
Sizer question
First, Thank you, thank you, thank you for those who put wxRuby together. I''m thrilled to be able to write GUI code in Ruby! I''m hitting some confusion about how Sizers work. I''ve read the tutorials and the section in the wxWidgets book but I still can''t seem to figure this out. Here''s an example of my code: parent = Wx::Panel.new(frame, -1,