J
James
consider :
int main (int argc, char * argv [ ]) {
}
In exec (2) ; Whose arguments which are passed to main.
What is the maximum size of the string.
argv[1] = "hello........." ;
How long can argv[1] point to. even though i know argv is 4 bytes
pointer. How long can the string be ?.
I just want to send a 50K string as my process arguments (main's
args)
when i fork and exec.
Is it possible ?. Does standard say something on this ?.
Are there any limitations ?.
Regards,
James
int main (int argc, char * argv [ ]) {
}
In exec (2) ; Whose arguments which are passed to main.
What is the maximum size of the string.
argv[1] = "hello........." ;
How long can argv[1] point to. even though i know argv is 4 bytes
pointer. How long can the string be ?.
I just want to send a 50K string as my process arguments (main's
args)
when i fork and exec.
Is it possible ?. Does standard say something on this ?.
Are there any limitations ?.
Regards,
James