Changes

Jump to navigation Jump to search
161 bytes removed ,  09:45, 22 September 2016
Line 70: Line 70:  
In the main() common argc and argv are accessed using the
 
In the main() common argc and argv are accessed using the
    +
<pre>
 
argc = std_argc(arg_p); argv = std_argv(arg_p, argc);
 
argc = std_argc(arg_p); argv = std_argv(arg_p, argc);
 +
</pre>
   −
calls. Then use argc and argv as you would use them in normal C program run from shell.
+
calls available in <code>argv</code> [[Compel/Plugins|plugin]]. Then use argc and argv as you would use them in normal C program run from shell.
 
  −
If you run the parasite using library _start/_end calls, you can pass file descriptors to parasite using fds plugin or setup shmem between these two using shmem plugin.
  −
See test/async_fds/ and test/async_shmem/ for code examples.
      
== See also ==
 
== See also ==

Navigation menu