Mail Archives: djgpp/1994/09/15/19:03:28
>>
>> extern int something (const char **);
>
>I had this problem. The correct prototype is this:
>
> extern int something (char * const *);
>
>See <process.h> for examples.
You hit it exactly. I am still using 1.11 and the system calls I was
referring to are those listed in process.h. In that file, the prototypes
are of the form:
extern int something (const char **);
So are you saying that these have been changed in 1.12 to read:
extern int something (char * const *);
which is a ``pointer to a constant pointer to a char'' which is compatable
with borland's:
extern int something (char *argv[]);
Thanks,
--John
- Raw text -