我正在阅读coreutils源代码以学习linux下的编程.
我发现在大多数程序中,例如ls.c,cat.c,它们在前几行调用宏函数initialize_main().所以我查看了system.h以找到实现:
/* Redirection and wildcarding when done by the utility itself.
Generally a noop, but used in particular for native VMS. */
#ifndef initialize_main
# define initialize_main(ac, av)
#endif
Run Code Online (Sandbox Code Playgroud)
我不明白为什么定义这样的宏,我不明白这个评论.