diff options
Diffstat (limited to 'manual/examples')
43 files changed, 43 insertions, 43 deletions
diff --git a/manual/examples/add.c b/manual/examples/add.c index ebc9d265b2..3ca6732b3f 100644 --- a/manual/examples/add.c +++ b/manual/examples/add.c @@ -1,5 +1,5 @@ /* Example of a Variadic Function - Copyright (C) 1991-2021 Free Software Foundation, Inc. + Copyright (C) 1991-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/manual/examples/argp-ex1.c b/manual/examples/argp-ex1.c index 573fb323dd..69ee149b0b 100644 --- a/manual/examples/argp-ex1.c +++ b/manual/examples/argp-ex1.c @@ -1,5 +1,5 @@ /* Argp example #1 -- a minimal program using argp - Copyright (C) 1991-2021 Free Software Foundation, Inc. + Copyright (C) 1991-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/manual/examples/argp-ex2.c b/manual/examples/argp-ex2.c index eedd2e3fc8..a670014c0a 100644 --- a/manual/examples/argp-ex2.c +++ b/manual/examples/argp-ex2.c @@ -1,5 +1,5 @@ /* Argp example #2 -- a pretty minimal program using argp - Copyright (C) 1991-2021 Free Software Foundation, Inc. + Copyright (C) 1991-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/manual/examples/argp-ex3.c b/manual/examples/argp-ex3.c index 9401aae91b..56fe838a34 100644 --- a/manual/examples/argp-ex3.c +++ b/manual/examples/argp-ex3.c @@ -1,5 +1,5 @@ /* Argp example #3 -- a program with options and arguments using argp - Copyright (C) 1991-2021 Free Software Foundation, Inc. + Copyright (C) 1991-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/manual/examples/argp-ex4.c b/manual/examples/argp-ex4.c index 41b0f71371..527461f902 100644 --- a/manual/examples/argp-ex4.c +++ b/manual/examples/argp-ex4.c @@ -1,5 +1,5 @@ /* Argp example #4 -- a program with somewhat more complicated options - Copyright (C) 1991-2021 Free Software Foundation, Inc. + Copyright (C) 1991-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/manual/examples/atexit.c b/manual/examples/atexit.c index 62e30b235a..c81b6b8542 100644 --- a/manual/examples/atexit.c +++ b/manual/examples/atexit.c @@ -1,5 +1,5 @@ /* Cleanups on Exit - Copyright (C) 1991-2021 Free Software Foundation, Inc. + Copyright (C) 1991-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/manual/examples/db.c b/manual/examples/db.c index f2e78b890a..94cf2ce8ed 100644 --- a/manual/examples/db.c +++ b/manual/examples/db.c @@ -1,5 +1,5 @@ /* User and Group Database Example - Copyright (C) 1991-2021 Free Software Foundation, Inc. + Copyright (C) 1991-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/manual/examples/dir.c b/manual/examples/dir.c index df4e9a3caa..e5d55f3e57 100644 --- a/manual/examples/dir.c +++ b/manual/examples/dir.c @@ -1,5 +1,5 @@ /* Simple Program to List a Directory - Copyright (C) 1991-2021 Free Software Foundation, Inc. + Copyright (C) 1991-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/manual/examples/dir2.c b/manual/examples/dir2.c index 547906181d..3e3e90e2a2 100644 --- a/manual/examples/dir2.c +++ b/manual/examples/dir2.c @@ -1,5 +1,5 @@ /* Simple Program to List a Directory, Mark II - Copyright (C) 1991-2021 Free Software Foundation, Inc. + Copyright (C) 1991-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/manual/examples/execinfo.c b/manual/examples/execinfo.c index 29a3fafdb4..ad879a60e3 100644 --- a/manual/examples/execinfo.c +++ b/manual/examples/execinfo.c @@ -1,5 +1,5 @@ /* Obtain a backtrace and print it. - Copyright (C) 1991-2021 Free Software Foundation, Inc. + Copyright (C) 1991-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/manual/examples/filecli.c b/manual/examples/filecli.c index 16a8659c81..c83380ea08 100644 --- a/manual/examples/filecli.c +++ b/manual/examples/filecli.c @@ -1,5 +1,5 @@ /* Example of Reading Datagrams - Copyright (C) 1991-2021 Free Software Foundation, Inc. + Copyright (C) 1991-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/manual/examples/filesrv.c b/manual/examples/filesrv.c index d6ea33d472..94c9f94215 100644 --- a/manual/examples/filesrv.c +++ b/manual/examples/filesrv.c @@ -1,5 +1,5 @@ /* Datagram Socket Example - Copyright (C) 1991-2021 Free Software Foundation, Inc. + Copyright (C) 1991-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/manual/examples/fmtmsgexpl.c b/manual/examples/fmtmsgexpl.c index a862d84457..326ea45267 100644 --- a/manual/examples/fmtmsgexpl.c +++ b/manual/examples/fmtmsgexpl.c @@ -1,5 +1,5 @@ /* How to use fmtmsg and addseverity. - Copyright (C) 1991-2021 Free Software Foundation, Inc. + Copyright (C) 1991-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/manual/examples/genpass.c b/manual/examples/genpass.c index 58c605de3b..6a8ccf93c7 100644 --- a/manual/examples/genpass.c +++ b/manual/examples/genpass.c @@ -1,5 +1,5 @@ /* Encrypting Passwords - Copyright (C) 1991-2021 Free Software Foundation, Inc. + Copyright (C) 1991-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/manual/examples/inetcli.c b/manual/examples/inetcli.c index 6040b26c92..2c7867eb9b 100644 --- a/manual/examples/inetcli.c +++ b/manual/examples/inetcli.c @@ -1,5 +1,5 @@ /* Byte Stream Socket Example - Copyright (C) 1991-2021 Free Software Foundation, Inc. + Copyright (C) 1991-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/manual/examples/inetsrv.c b/manual/examples/inetsrv.c index 698041e641..174772d6c0 100644 --- a/manual/examples/inetsrv.c +++ b/manual/examples/inetsrv.c @@ -1,5 +1,5 @@ /* Byte Stream Connection Server Example - Copyright (C) 1991-2021 Free Software Foundation, Inc. + Copyright (C) 1991-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/manual/examples/isockad.c b/manual/examples/isockad.c index 84eba1c4e8..c09d36194c 100644 --- a/manual/examples/isockad.c +++ b/manual/examples/isockad.c @@ -1,5 +1,5 @@ /* Internet Socket Example using sockaddr_in. - Copyright (C) 1991-2021 Free Software Foundation, Inc. + Copyright (C) 1991-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/manual/examples/longopt.c b/manual/examples/longopt.c index b26c2f804f..566b747c34 100644 --- a/manual/examples/longopt.c +++ b/manual/examples/longopt.c @@ -1,5 +1,5 @@ /* Example of Parsing Long Options with getopt_long. - Copyright (C) 1991-2021 Free Software Foundation, Inc. + Copyright (C) 1991-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/manual/examples/memopen.c b/manual/examples/memopen.c index 40f18dfcc1..d66ccd341a 100644 --- a/manual/examples/memopen.c +++ b/manual/examples/memopen.c @@ -1,5 +1,5 @@ /* String Streams - Copyright (C) 1991-2021 Free Software Foundation, Inc. + Copyright (C) 1991-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/manual/examples/memstrm.c b/manual/examples/memstrm.c index a36a1bc1c6..fb06f70553 100644 --- a/manual/examples/memstrm.c +++ b/manual/examples/memstrm.c @@ -1,5 +1,5 @@ /* open_memstream example. - Copyright (C) 1991-2021 Free Software Foundation, Inc. + Copyright (C) 1991-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/manual/examples/mkdirent.c b/manual/examples/mkdirent.c index 47431b37bb..edd242a414 100644 --- a/manual/examples/mkdirent.c +++ b/manual/examples/mkdirent.c @@ -1,5 +1,5 @@ /* Example for creating a struct dirent object for use with glob. - Copyright (C) 2016-2021 Free Software Foundation, Inc. + Copyright (C) 2016-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/manual/examples/mkfsock.c b/manual/examples/mkfsock.c index 58cc5a2cab..9c2a41d3d7 100644 --- a/manual/examples/mkfsock.c +++ b/manual/examples/mkfsock.c @@ -1,5 +1,5 @@ /* Example of Local-Namespace Sockets - Copyright (C) 1991-2021 Free Software Foundation, Inc. + Copyright (C) 1991-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/manual/examples/mkisock.c b/manual/examples/mkisock.c index 85f869aca6..686c6b3b8d 100644 --- a/manual/examples/mkisock.c +++ b/manual/examples/mkisock.c @@ -1,5 +1,5 @@ /* Internet Socket Example - Copyright (C) 1991-2021 Free Software Foundation, Inc. + Copyright (C) 1991-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/manual/examples/mygetpass.c b/manual/examples/mygetpass.c index 0a8f7b4186..0a19c4efe8 100644 --- a/manual/examples/mygetpass.c +++ b/manual/examples/mygetpass.c @@ -1,5 +1,5 @@ /* Reading passphrases manually. - Copyright (C) 1991-2021 Free Software Foundation, Inc. + Copyright (C) 1991-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/manual/examples/ofdlocks.c b/manual/examples/ofdlocks.c index 1381678121..4f01f41220 100644 --- a/manual/examples/ofdlocks.c +++ b/manual/examples/ofdlocks.c @@ -1,5 +1,5 @@ /* Open File Description Locks Usage Example - Copyright (C) 1991-2021 Free Software Foundation, Inc. + Copyright (C) 1991-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/manual/examples/pipe.c b/manual/examples/pipe.c index 21e43d473b..93856f14c3 100644 --- a/manual/examples/pipe.c +++ b/manual/examples/pipe.c @@ -1,5 +1,5 @@ /* Creating a Pipe - Copyright (C) 1991-2021 Free Software Foundation, Inc. + Copyright (C) 1991-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/manual/examples/popen.c b/manual/examples/popen.c index 12e086940d..ced8b9b2e4 100644 --- a/manual/examples/popen.c +++ b/manual/examples/popen.c @@ -1,5 +1,5 @@ /* Pipe to a Subprocess - Copyright (C) 1991-2021 Free Software Foundation, Inc. + Copyright (C) 1991-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/manual/examples/rprintf.c b/manual/examples/rprintf.c index b1694b252d..9b0ea3ffdc 100644 --- a/manual/examples/rprintf.c +++ b/manual/examples/rprintf.c @@ -1,5 +1,5 @@ /* Printf Extension Example - Copyright (C) 1991-2021 Free Software Foundation, Inc. + Copyright (C) 1991-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/manual/examples/search.c b/manual/examples/search.c index 85ec872621..47ebc59656 100644 --- a/manual/examples/search.c +++ b/manual/examples/search.c @@ -1,5 +1,5 @@ /* Searching and Sorting Example - Copyright (C) 1991-2021 Free Software Foundation, Inc. + Copyright (C) 1991-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/manual/examples/select.c b/manual/examples/select.c index a92711211b..211c180601 100644 --- a/manual/examples/select.c +++ b/manual/examples/select.c @@ -1,5 +1,5 @@ /* Waiting for Input or Output - Copyright (C) 1991-2021 Free Software Foundation, Inc. + Copyright (C) 1991-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/manual/examples/setjmp.c b/manual/examples/setjmp.c index 136ebaeb27..128e9bad20 100644 --- a/manual/examples/setjmp.c +++ b/manual/examples/setjmp.c @@ -1,5 +1,5 @@ /* Introduction to Non-Local Exits - Copyright (C) 1991-2021 Free Software Foundation, Inc. + Copyright (C) 1991-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/manual/examples/sigh1.c b/manual/examples/sigh1.c index da7cba847a..a802564eff 100644 --- a/manual/examples/sigh1.c +++ b/manual/examples/sigh1.c @@ -1,5 +1,5 @@ /* Signal Handlers that Return - Copyright (C) 1991-2021 Free Software Foundation, Inc. + Copyright (C) 1991-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/manual/examples/sigusr.c b/manual/examples/sigusr.c index ee5e935da4..84405162bb 100644 --- a/manual/examples/sigusr.c +++ b/manual/examples/sigusr.c @@ -1,5 +1,5 @@ /* Using kill for Communication - Copyright (C) 1991-2021 Free Software Foundation, Inc. + Copyright (C) 1991-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/manual/examples/stpcpy.c b/manual/examples/stpcpy.c index bea80184f4..809a05bc5f 100644 --- a/manual/examples/stpcpy.c +++ b/manual/examples/stpcpy.c @@ -1,5 +1,5 @@ /* stpcpy example. - Copyright (C) 1991-2021 Free Software Foundation, Inc. + Copyright (C) 1991-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/manual/examples/strdupa.c b/manual/examples/strdupa.c index d342dd5511..b516e3745c 100644 --- a/manual/examples/strdupa.c +++ b/manual/examples/strdupa.c @@ -1,5 +1,5 @@ /* strdupa example. - Copyright (C) 1991-2021 Free Software Foundation, Inc. + Copyright (C) 1991-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/manual/examples/strftim.c b/manual/examples/strftim.c index 262804a9a6..5b919f4e91 100644 --- a/manual/examples/strftim.c +++ b/manual/examples/strftim.c @@ -1,5 +1,5 @@ /* Time Functions Example - Copyright (C) 1991-2021 Free Software Foundation, Inc. + Copyright (C) 1991-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/manual/examples/subopt.c b/manual/examples/subopt.c index 5b7bb31664..f45b831362 100644 --- a/manual/examples/subopt.c +++ b/manual/examples/subopt.c @@ -1,5 +1,5 @@ /* Parsing of Suboptions Example - Copyright (C) 1991-2021 Free Software Foundation, Inc. + Copyright (C) 1991-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/manual/examples/swapcontext.c b/manual/examples/swapcontext.c index fbbe2c71d9..33cf40e68a 100644 --- a/manual/examples/swapcontext.c +++ b/manual/examples/swapcontext.c @@ -1,5 +1,5 @@ /* Complete Context Control - Copyright (C) 1991-2021 Free Software Foundation, Inc. + Copyright (C) 1991-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/manual/examples/termios.c b/manual/examples/termios.c index c345c2d4d4..79f467225d 100644 --- a/manual/examples/termios.c +++ b/manual/examples/termios.c @@ -1,5 +1,5 @@ /* Noncanonical Mode Example - Copyright (C) 1991-2021 Free Software Foundation, Inc. + Copyright (C) 1991-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/manual/examples/testopt.c b/manual/examples/testopt.c index de31bc257b..fc40f3913b 100644 --- a/manual/examples/testopt.c +++ b/manual/examples/testopt.c @@ -1,5 +1,5 @@ /* Example of Parsing Arguments with getopt. - Copyright (C) 1991-2021 Free Software Foundation, Inc. + Copyright (C) 1991-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/manual/examples/testpass.c b/manual/examples/testpass.c index f8a58b28e2..560683d6ff 100644 --- a/manual/examples/testpass.c +++ b/manual/examples/testpass.c @@ -1,5 +1,5 @@ /* Verify a passphrase. - Copyright (C) 1991-2021 Free Software Foundation, Inc. + Copyright (C) 1991-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/manual/examples/timeval_subtract.c b/manual/examples/timeval_subtract.c index 37c7922460..c214c4feb5 100644 --- a/manual/examples/timeval_subtract.c +++ b/manual/examples/timeval_subtract.c @@ -1,5 +1,5 @@ /* struct timeval subtraction. - Copyright (C) 1991-2021 Free Software Foundation, Inc. + Copyright (C) 1991-2022 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/manual/examples/twalk.c b/manual/examples/twalk.c index 9d46c00438..568cf9101b 100644 --- a/manual/examples/twalk.c +++ b/manual/examples/twalk.c @@ -1,5 +1,5 @@ /* Implement twalk using twalk_r. - Copyright (C) 2019-2021 Free Software Foundation, Inc. + Copyright (C) 2019-2022 Free Software Foundation, Inc. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public |