Changes between Version 86 and Version 87 of Projects/OpenLDAP


Ignore:
Timestamp:
07/08/12 06:14:15 (12 years ago)
Author:
C Rempel
Comment:

/* network-demos/ldap/init.c */

Legend:

Unmodified
Added
Removed
Modified
  • Projects/OpenLDAP

    v86 v87  
    247247# form strings with the arguments to pass
    248248# point argv to each of the arguments
    249 
     249# the zeroth argument is the first argument passed to the function
     250# have the last string be the empty string, to tell main that's the last argument
    250251 + #include <main.h>
    251252  rtems_task_Init(...)
     
    256257 + *argv2="-F/etc/openldap";
    257258 + *argv3="";
    258  + *argv[1]=\&
    259  + main(, argv);
     259 + *argv[0]=&argv0;
     260 + *argv[1]=&argv1;
     261 + *argv[2]=&argv2;
     262 + *argv[3]=&argv3;
     263 ...
     264 + main(4, argv);
    260265 ...
    261266==  network-demos/ldap/Makefile  ==