Significance of variable arguments
Hi All,
Can any one tell me a source which explains the significance of variable arguments.
eg : struct task_struct *kthread_create(int (*threadfn)(void *data),
void *data,
const char namefmt[],
...)Regards,
Krishna Chaitanya
Quoted 4 lines · krishna
Hi All,
Can any one tell me a source which explains the significance of variable arguments.
This is like printf, execl etc etc. Common C usage to pass variable number of arguments, or even variable types.
Signature · 2 lines
http://www.PowerDNS.com Open source, database driven DNS Software http://lartc.org Linux Advanced Routing & Traffic Control HOWTO
krishna <[email protected]> wrote:
| Can any one tell me a source which explains the significance of variable | arguments. | | eg : struct task_struct *kthread_create(int (*threadfn)(void *data), | void *data, | const char namefmt[], | ...)
man stdarg
Signature · 3 lines
Dick Streefland //// Altium BV [email protected] (@ @) http://www.altium.com --------------------------------oOO--(_)--OOo---------------------------
Thank you very much.
Quoted 11 lines · Dick Streefland
krishna <[email protected]> wrote:
| Can any one tell me a source which explains the significance of variable | arguments. | | eg : struct task_struct *kthread_create(int (*threadfn)(void *data), | void *data, | const char namefmt[], | ...)man stdarg