How does minicom able to run multiple mains?

bshe bshe at u.washington.edu
Wed Nov 26 19:27:42 UTC 2008


Hi experts,

I am very green on Linux programming.  As I reading through the Minicom 2.3 code, I couldn't stop wondering how it is able to run multiple int main(int argc, char **argv)s in minicom.c, ascii-xfr.c, getsdir.c, keyserv.c, script.c, and wildmat.c in its program.  As I remembered, a program can only have one main().  Am I wrong on this?

Can anyone enlighten me on this matter?

Thanks,

= Bohao She =
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/minicom-devel/attachments/20081126/96d08c4b/attachment.htm 


More information about the minicom-devel mailing list