aboutsummaryrefslogtreecommitdiff
path: root/manual/examples
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2020-01-01 00:14:33 +0000
committerJoseph Myers <joseph@codesourcery.com>2020-01-01 00:14:33 +0000
commitd614a7539657941a9201c236b2f15afac18e1213 (patch)
treea7bb552caf4fc49aaf5cb3621d1a7c4a789b36c6 /manual/examples
parent09153638cfef9166586b0c21e852ea0d6f15a0fd (diff)
downloadglibc-d614a7539657941a9201c236b2f15afac18e1213.zip
glibc-d614a7539657941a9201c236b2f15afac18e1213.tar.gz
glibc-d614a7539657941a9201c236b2f15afac18e1213.tar.bz2
Update copyright dates with scripts/update-copyrights.
Diffstat (limited to 'manual/examples')
-rw-r--r--manual/examples/add.c2
-rw-r--r--manual/examples/argp-ex1.c2
-rw-r--r--manual/examples/argp-ex2.c2
-rw-r--r--manual/examples/argp-ex3.c2
-rw-r--r--manual/examples/argp-ex4.c2
-rw-r--r--manual/examples/atexit.c2
-rw-r--r--manual/examples/db.c2
-rw-r--r--manual/examples/dir.c2
-rw-r--r--manual/examples/dir2.c2
-rw-r--r--manual/examples/execinfo.c2
-rw-r--r--manual/examples/filecli.c2
-rw-r--r--manual/examples/filesrv.c2
-rw-r--r--manual/examples/fmtmsgexpl.c2
-rw-r--r--manual/examples/genpass.c2
-rw-r--r--manual/examples/inetcli.c2
-rw-r--r--manual/examples/inetsrv.c2
-rw-r--r--manual/examples/isockad.c2
-rw-r--r--manual/examples/longopt.c2
-rw-r--r--manual/examples/memopen.c2
-rw-r--r--manual/examples/memstrm.c2
-rw-r--r--manual/examples/mkdirent.c2
-rw-r--r--manual/examples/mkfsock.c2
-rw-r--r--manual/examples/mkisock.c2
-rw-r--r--manual/examples/mygetpass.c2
-rw-r--r--manual/examples/ofdlocks.c2
-rw-r--r--manual/examples/pipe.c2
-rw-r--r--manual/examples/popen.c2
-rw-r--r--manual/examples/rprintf.c2
-rw-r--r--manual/examples/search.c2
-rw-r--r--manual/examples/select.c2
-rw-r--r--manual/examples/setjmp.c2
-rw-r--r--manual/examples/sigh1.c2
-rw-r--r--manual/examples/sigusr.c2
-rw-r--r--manual/examples/stpcpy.c2
-rw-r--r--manual/examples/strdupa.c2
-rw-r--r--manual/examples/strftim.c2
-rw-r--r--manual/examples/subopt.c2
-rw-r--r--manual/examples/swapcontext.c2
-rw-r--r--manual/examples/termios.c2
-rw-r--r--manual/examples/testopt.c2
-rw-r--r--manual/examples/testpass.c2
-rw-r--r--manual/examples/timeval_subtract.c2
-rw-r--r--manual/examples/twalk.c2
43 files changed, 43 insertions, 43 deletions
diff --git a/manual/examples/add.c b/manual/examples/add.c
index d9f9dae..20d64d4 100644
--- a/manual/examples/add.c
+++ b/manual/examples/add.c
@@ -1,5 +1,5 @@
/* Example of a Variadic Function
- Copyright (C) 1991-2019 Free Software Foundation, Inc.
+ Copyright (C) 1991-2020 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 6885205..a13dd41 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-2019 Free Software Foundation, Inc.
+ Copyright (C) 1991-2020 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 450745c..a8055db 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-2019 Free Software Foundation, Inc.
+ Copyright (C) 1991-2020 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 3a73d76..42b5cb4 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-2019 Free Software Foundation, Inc.
+ Copyright (C) 1991-2020 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 76bcdea..84fdaed 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-2019 Free Software Foundation, Inc.
+ Copyright (C) 1991-2020 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 f8ebdd9..02c9784 100644
--- a/manual/examples/atexit.c
+++ b/manual/examples/atexit.c
@@ -1,5 +1,5 @@
/* Cleanups on Exit
- Copyright (C) 1991-2019 Free Software Foundation, Inc.
+ Copyright (C) 1991-2020 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 22fbb67..b061fce 100644
--- a/manual/examples/db.c
+++ b/manual/examples/db.c
@@ -1,5 +1,5 @@
/* User and Group Database Example
- Copyright (C) 1991-2019 Free Software Foundation, Inc.
+ Copyright (C) 1991-2020 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 c869a1b..a7bf53f 100644
--- a/manual/examples/dir.c
+++ b/manual/examples/dir.c
@@ -1,5 +1,5 @@
/* Simple Program to List a Directory
- Copyright (C) 1991-2019 Free Software Foundation, Inc.
+ Copyright (C) 1991-2020 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 0f3f224..f314dde 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-2019 Free Software Foundation, Inc.
+ Copyright (C) 1991-2020 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 7526d5a..a789b6b 100644
--- a/manual/examples/execinfo.c
+++ b/manual/examples/execinfo.c
@@ -1,5 +1,5 @@
/* Obtain a backtrace and print it.
- Copyright (C) 1991-2019 Free Software Foundation, Inc.
+ Copyright (C) 1991-2020 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 094dd21..e811c94 100644
--- a/manual/examples/filecli.c
+++ b/manual/examples/filecli.c
@@ -1,5 +1,5 @@
/* Example of Reading Datagrams
- Copyright (C) 1991-2019 Free Software Foundation, Inc.
+ Copyright (C) 1991-2020 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 3dc0df3..f38f547 100644
--- a/manual/examples/filesrv.c
+++ b/manual/examples/filesrv.c
@@ -1,5 +1,5 @@
/* Datagram Socket Example
- Copyright (C) 1991-2019 Free Software Foundation, Inc.
+ Copyright (C) 1991-2020 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 e7089a5..a732227 100644
--- a/manual/examples/fmtmsgexpl.c
+++ b/manual/examples/fmtmsgexpl.c
@@ -1,5 +1,5 @@
/* How to use fmtmsg and addseverity.
- Copyright (C) 1991-2019 Free Software Foundation, Inc.
+ Copyright (C) 1991-2020 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 faba2a1..5bac269 100644
--- a/manual/examples/genpass.c
+++ b/manual/examples/genpass.c
@@ -1,5 +1,5 @@
/* Encrypting Passwords
- Copyright (C) 1991-2019 Free Software Foundation, Inc.
+ Copyright (C) 1991-2020 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 685f49b..a5a715b 100644
--- a/manual/examples/inetcli.c
+++ b/manual/examples/inetcli.c
@@ -1,5 +1,5 @@
/* Byte Stream Socket Example
- Copyright (C) 1991-2019 Free Software Foundation, Inc.
+ Copyright (C) 1991-2020 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 85788dc..391a462 100644
--- a/manual/examples/inetsrv.c
+++ b/manual/examples/inetsrv.c
@@ -1,5 +1,5 @@
/* Byte Stream Connection Server Example
- Copyright (C) 1991-2019 Free Software Foundation, Inc.
+ Copyright (C) 1991-2020 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 7b0261c..efdc52e 100644
--- a/manual/examples/isockad.c
+++ b/manual/examples/isockad.c
@@ -1,5 +1,5 @@
/* Internet Socket Example using sockaddr_in.
- Copyright (C) 1991-2019 Free Software Foundation, Inc.
+ Copyright (C) 1991-2020 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 f776957..40bad26 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-2019 Free Software Foundation, Inc.
+ Copyright (C) 1991-2020 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 4c35a09..e840828 100644
--- a/manual/examples/memopen.c
+++ b/manual/examples/memopen.c
@@ -1,5 +1,5 @@
/* String Streams
- Copyright (C) 1991-2019 Free Software Foundation, Inc.
+ Copyright (C) 1991-2020 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 8359c59..3c427f9 100644
--- a/manual/examples/memstrm.c
+++ b/manual/examples/memstrm.c
@@ -1,5 +1,5 @@
/* open_memstream example.
- Copyright (C) 1991-2019 Free Software Foundation, Inc.
+ Copyright (C) 1991-2020 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 871f27f..0a76076 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-2019 Free Software Foundation, Inc.
+ Copyright (C) 2016-2020 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 4372225..c7777b9 100644
--- a/manual/examples/mkfsock.c
+++ b/manual/examples/mkfsock.c
@@ -1,5 +1,5 @@
/* Example of Local-Namespace Sockets
- Copyright (C) 1991-2019 Free Software Foundation, Inc.
+ Copyright (C) 1991-2020 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 171c64a..a1b8fc7 100644
--- a/manual/examples/mkisock.c
+++ b/manual/examples/mkisock.c
@@ -1,5 +1,5 @@
/* Internet Socket Example
- Copyright (C) 1991-2019 Free Software Foundation, Inc.
+ Copyright (C) 1991-2020 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 2896860..a93ad05 100644
--- a/manual/examples/mygetpass.c
+++ b/manual/examples/mygetpass.c
@@ -1,5 +1,5 @@
/* Reading passphrases manually.
- Copyright (C) 1991-2019 Free Software Foundation, Inc.
+ Copyright (C) 1991-2020 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 c2b5e5c..0244e5f 100644
--- a/manual/examples/ofdlocks.c
+++ b/manual/examples/ofdlocks.c
@@ -1,5 +1,5 @@
/* Open File Description Locks Usage Example
- Copyright (C) 1991-2019 Free Software Foundation, Inc.
+ Copyright (C) 1991-2020 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 b5ecab2..68a7789 100644
--- a/manual/examples/pipe.c
+++ b/manual/examples/pipe.c
@@ -1,5 +1,5 @@
/* Creating a Pipe
- Copyright (C) 1991-2019 Free Software Foundation, Inc.
+ Copyright (C) 1991-2020 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 9bcc276..aca4249 100644
--- a/manual/examples/popen.c
+++ b/manual/examples/popen.c
@@ -1,5 +1,5 @@
/* Pipe to a Subprocess
- Copyright (C) 1991-2019 Free Software Foundation, Inc.
+ Copyright (C) 1991-2020 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 ee28830..5507bc6 100644
--- a/manual/examples/rprintf.c
+++ b/manual/examples/rprintf.c
@@ -1,5 +1,5 @@
/* Printf Extension Example
- Copyright (C) 1991-2019 Free Software Foundation, Inc.
+ Copyright (C) 1991-2020 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 7c64864..9fbda7c 100644
--- a/manual/examples/search.c
+++ b/manual/examples/search.c
@@ -1,5 +1,5 @@
/* Searching and Sorting Example
- Copyright (C) 1991-2019 Free Software Foundation, Inc.
+ Copyright (C) 1991-2020 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 2e968d7..4758127 100644
--- a/manual/examples/select.c
+++ b/manual/examples/select.c
@@ -1,5 +1,5 @@
/* Waiting for Input or Output
- Copyright (C) 1991-2019 Free Software Foundation, Inc.
+ Copyright (C) 1991-2020 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 105944c..d785d83 100644
--- a/manual/examples/setjmp.c
+++ b/manual/examples/setjmp.c
@@ -1,5 +1,5 @@
/* Introduction to Non-Local Exits
- Copyright (C) 1991-2019 Free Software Foundation, Inc.
+ Copyright (C) 1991-2020 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 2385b7a..5a006df 100644
--- a/manual/examples/sigh1.c
+++ b/manual/examples/sigh1.c
@@ -1,5 +1,5 @@
/* Signal Handlers that Return
- Copyright (C) 1991-2019 Free Software Foundation, Inc.
+ Copyright (C) 1991-2020 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 7d6f450..0485bc1 100644
--- a/manual/examples/sigusr.c
+++ b/manual/examples/sigusr.c
@@ -1,5 +1,5 @@
/* Using kill for Communication
- Copyright (C) 1991-2019 Free Software Foundation, Inc.
+ Copyright (C) 1991-2020 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 5c53920..4ce29a3 100644
--- a/manual/examples/stpcpy.c
+++ b/manual/examples/stpcpy.c
@@ -1,5 +1,5 @@
/* stpcpy example.
- Copyright (C) 1991-2019 Free Software Foundation, Inc.
+ Copyright (C) 1991-2020 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 085dc24..f5e64f7 100644
--- a/manual/examples/strdupa.c
+++ b/manual/examples/strdupa.c
@@ -1,5 +1,5 @@
/* strdupa example.
- Copyright (C) 1991-2019 Free Software Foundation, Inc.
+ Copyright (C) 1991-2020 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 20492aa..6aaafbe 100644
--- a/manual/examples/strftim.c
+++ b/manual/examples/strftim.c
@@ -1,5 +1,5 @@
/* Time Functions Example
- Copyright (C) 1991-2019 Free Software Foundation, Inc.
+ Copyright (C) 1991-2020 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 c6d0a1f..79995bc 100644
--- a/manual/examples/subopt.c
+++ b/manual/examples/subopt.c
@@ -1,5 +1,5 @@
/* Parsing of Suboptions Example
- Copyright (C) 1991-2019 Free Software Foundation, Inc.
+ Copyright (C) 1991-2020 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 70c5744..b2b932c 100644
--- a/manual/examples/swapcontext.c
+++ b/manual/examples/swapcontext.c
@@ -1,5 +1,5 @@
/* Complete Context Control
- Copyright (C) 1991-2019 Free Software Foundation, Inc.
+ Copyright (C) 1991-2020 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 5e0dfcc..e2654cc 100644
--- a/manual/examples/termios.c
+++ b/manual/examples/termios.c
@@ -1,5 +1,5 @@
/* Noncanonical Mode Example
- Copyright (C) 1991-2019 Free Software Foundation, Inc.
+ Copyright (C) 1991-2020 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 ea21115..b1eb0ab 100644
--- a/manual/examples/testopt.c
+++ b/manual/examples/testopt.c
@@ -1,5 +1,5 @@
/* Example of Parsing Arguments with getopt.
- Copyright (C) 1991-2019 Free Software Foundation, Inc.
+ Copyright (C) 1991-2020 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 2bf282a..b0da4a6 100644
--- a/manual/examples/testpass.c
+++ b/manual/examples/testpass.c
@@ -1,5 +1,5 @@
/* Verify a passphrase.
- Copyright (C) 1991-2019 Free Software Foundation, Inc.
+ Copyright (C) 1991-2020 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 edca577..8c7f16b 100644
--- a/manual/examples/timeval_subtract.c
+++ b/manual/examples/timeval_subtract.c
@@ -1,5 +1,5 @@
/* struct timeval subtraction.
- Copyright (C) 1991-2019 Free Software Foundation, Inc.
+ Copyright (C) 1991-2020 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 afa2b6e..b89db3c 100644
--- a/manual/examples/twalk.c
+++ b/manual/examples/twalk.c
@@ -1,5 +1,5 @@
/* Implement twalk using twalk_r.
- Copyright (C) 2019 Free Software Foundation, Inc.
+ Copyright (C) 2019-2020 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