Sunday, March 08, 2026

Re: function prototype

On Sun, Mar 08, 2026 at 07:14:10PM -0300, Gustavo Rios wrote:
>Hi folks!,
>
>what is the option of choice for openbsd developer :
>
>int main()
>int main(int argc, char **argv)
>int main(int argc, char **argv, char **envp)
>
>Which one ?

Check out 'man 9 style', there is an example there for main(),
plus a lot of other information on formatting.

>
>thanks!

No comments:

Post a Comment