apm install gnippets
Gnippets is a GPLv3-licensed package that supplies snippets that can be used to comply with the GNU programming standards when writing C, as well as other snippets that can be used to license your program under the GNU GPL v3.
The following snippets are provided:
- Basic GNU-Standard Hello World (
hwgnu) - Hello world with options using argp.
- GNU GPL Single-File Notice (
gpl-notice-single) - Copyright notice for a single-file program.
- GNU GPL Multi-File Notice (
gpl-notice-multi) - Copyright notice for a multi-file program.
- GNU GPL v3 (
gplv3) - The entire text of the GNU GPL version 3.
Please note that the snippets in this package only work when working on a C source file.