summaryrefslogtreecommitdiff
path: root/manual/examples
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2016-01-04 16:05:18 +0000
committerJoseph Myers <joseph@codesourcery.com>2016-01-04 16:05:18 +0000
commitf7a9f785e547bd599dee496fd906a28bcb4ec7fe (patch)
tree3d106a69fbe220419a6bbd2cce71ffee71f870b5 /manual/examples
parentd4eed61f85791a8fc4f94ce4fb17997d4ee0eed3 (diff)
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/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
41 files changed, 41 insertions, 41 deletions
diff --git a/manual/examples/add.c b/manual/examples/add.c
index e2b025f83e..327ee5a0fa 100644
--- a/manual/examples/add.c
+++ b/manual/examples/add.c
@@ -1,5 +1,5 @@
/* Example of a Variadic Function
- Copyright (C) 1991-2015 Free Software Foundation, Inc.
+ Copyright (C) 1991-2016 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 968e0cfc7a..4a7b811313 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-2015 Free Software Foundation, Inc.
+ Copyright (C) 1991-2016 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 39bb719467..f7e6d54c39 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-2015 Free Software Foundation, Inc.
+ Copyright (C) 1991-2016 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 a9b30f361d..c2cf3264b0 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-2015 Free Software Foundation, Inc.
+ Copyright (C) 1991-2016 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 e8034afd6b..a0c1a89d74 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-2015 Free Software Foundation, Inc.
+ Copyright (C) 1991-2016 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 d8a8f54990..7c09257c89 100644
--- a/manual/examples/atexit.c
+++ b/manual/examples/atexit.c
@@ -1,5 +1,5 @@
/* Cleanups on Exit
- Copyright (C) 1991-2015 Free Software Foundation, Inc.
+ Copyright (C) 1991-2016 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 d6ec397fd7..a9b06d7416 100644
--- a/manual/examples/db.c
+++ b/manual/examples/db.c
@@ -1,5 +1,5 @@
/* User and Group Database Example
- Copyright (C) 1991-2015 Free Software Foundation, Inc.
+ Copyright (C) 1991-2016 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 4315f45606..dc4a474347 100644
--- a/manual/examples/dir.c
+++ b/manual/examples/dir.c
@@ -1,5 +1,5 @@
/* Simple Program to List a Directory
- Copyright (C) 1991-2015 Free Software Foundation, Inc.
+ Copyright (C) 1991-2016 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 1fe3615aea..758a84d7d3 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-2015 Free Software Foundation, Inc.
+ Copyright (C) 1991-2016 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 8272c96e96..fd66b9a60d 100644
--- a/manual/examples/execinfo.c
+++ b/manual/examples/execinfo.c
@@ -1,5 +1,5 @@
/* Obtain a backtrace and print it.
- Copyright (C) 1991-2015 Free Software Foundation, Inc.
+ Copyright (C) 1991-2016 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 6c9dd3c626..0e6afa1bea 100644
--- a/manual/examples/filecli.c
+++ b/manual/examples/filecli.c
@@ -1,5 +1,5 @@
/* Example of Reading Datagrams
- Copyright (C) 1991-2015 Free Software Foundation, Inc.
+ Copyright (C) 1991-2016 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 b240e30c39..e0f32d7bf4 100644
--- a/manual/examples/filesrv.c
+++ b/manual/examples/filesrv.c
@@ -1,5 +1,5 @@
/* Datagram Socket Example
- Copyright (C) 1991-2015 Free Software Foundation, Inc.
+ Copyright (C) 1991-2016 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 43c473b434..f773f61a5b 100644
--- a/manual/examples/fmtmsgexpl.c
+++ b/manual/examples/fmtmsgexpl.c
@@ -1,5 +1,5 @@
/* How to use fmtmsg and addseverity.
- Copyright (C) 1991-2015 Free Software Foundation, Inc.
+ Copyright (C) 1991-2016 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 57cada012c..ae0e173522 100644
--- a/manual/examples/genpass.c
+++ b/manual/examples/genpass.c
@@ -1,5 +1,5 @@
/* Encrypting Passwords
- Copyright (C) 1991-2015 Free Software Foundation, Inc.
+ Copyright (C) 1991-2016 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 89e51eb14d..13a4daeb0b 100644
--- a/manual/examples/inetcli.c
+++ b/manual/examples/inetcli.c
@@ -1,5 +1,5 @@
/* Byte Stream Socket Example
- Copyright (C) 1991-2015 Free Software Foundation, Inc.
+ Copyright (C) 1991-2016 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 71aab5a88d..91dfbc948d 100644
--- a/manual/examples/inetsrv.c
+++ b/manual/examples/inetsrv.c
@@ -1,5 +1,5 @@
/* Byte Stream Connection Server Example
- Copyright (C) 1991-2015 Free Software Foundation, Inc.
+ Copyright (C) 1991-2016 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 863e042fd6..4eb1060a6a 100644
--- a/manual/examples/isockad.c
+++ b/manual/examples/isockad.c
@@ -1,5 +1,5 @@
/* Internet Socket Example using sockaddr_in.
- Copyright (C) 1991-2015 Free Software Foundation, Inc.
+ Copyright (C) 1991-2016 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 5bc657a8e8..8731c551f4 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-2015 Free Software Foundation, Inc.
+ Copyright (C) 1991-2016 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 9fb61cad35..96e20a3fc5 100644
--- a/manual/examples/memopen.c
+++ b/manual/examples/memopen.c
@@ -1,5 +1,5 @@
/* String Streams
- Copyright (C) 1991-2015 Free Software Foundation, Inc.
+ Copyright (C) 1991-2016 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 66b0061417..0d443b1371 100644
--- a/manual/examples/memstrm.c
+++ b/manual/examples/memstrm.c
@@ -1,5 +1,5 @@
/* open_memstream example.
- Copyright (C) 1991-2015 Free Software Foundation, Inc.
+ Copyright (C) 1991-2016 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 b8ecce79cd..76ddc97a19 100644
--- a/manual/examples/mkfsock.c
+++ b/manual/examples/mkfsock.c
@@ -1,5 +1,5 @@
/* Example of Local-Namespace Sockets
- Copyright (C) 1991-2015 Free Software Foundation, Inc.
+ Copyright (C) 1991-2016 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 53e976a54c..b50a5bec06 100644
--- a/manual/examples/mkisock.c
+++ b/manual/examples/mkisock.c
@@ -1,5 +1,5 @@
/* Internet Socket Example
- Copyright (C) 1991-2015 Free Software Foundation, Inc.
+ Copyright (C) 1991-2016 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 ac4768320f..5751c2dca7 100644
--- a/manual/examples/mygetpass.c
+++ b/manual/examples/mygetpass.c
@@ -1,5 +1,5 @@
/* Reading Passwords
- Copyright (C) 1991-2015 Free Software Foundation, Inc.
+ Copyright (C) 1991-2016 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 4ca1ff345d..ba4f0ef4d2 100644
--- a/manual/examples/ofdlocks.c
+++ b/manual/examples/ofdlocks.c
@@ -1,5 +1,5 @@
/* Open File Description Locks Usage Example
- Copyright (C) 1991-2015 Free Software Foundation, Inc.
+ Copyright (C) 1991-2016 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 81db29d503..c765672506 100644
--- a/manual/examples/pipe.c
+++ b/manual/examples/pipe.c
@@ -1,5 +1,5 @@
/* Creating a Pipe
- Copyright (C) 1991-2015 Free Software Foundation, Inc.
+ Copyright (C) 1991-2016 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 5ad3edb9af..cc16135cb7 100644
--- a/manual/examples/popen.c
+++ b/manual/examples/popen.c
@@ -1,5 +1,5 @@
/* Pipe to a Subprocess
- Copyright (C) 1991-2015 Free Software Foundation, Inc.
+ Copyright (C) 1991-2016 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 89a1ed59f3..4106677881 100644
--- a/manual/examples/rprintf.c
+++ b/manual/examples/rprintf.c
@@ -1,5 +1,5 @@
/* Printf Extension Example
- Copyright (C) 1991-2015 Free Software Foundation, Inc.
+ Copyright (C) 1991-2016 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 ba48c16458..4665be0c05 100644
--- a/manual/examples/search.c
+++ b/manual/examples/search.c
@@ -1,5 +1,5 @@
/* Searching and Sorting Example
- Copyright (C) 1991-2015 Free Software Foundation, Inc.
+ Copyright (C) 1991-2016 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 eaa8f6a29a..8dde70b1d5 100644
--- a/manual/examples/select.c
+++ b/manual/examples/select.c
@@ -1,5 +1,5 @@
/* Waiting for Input or Output
- Copyright (C) 1991-2015 Free Software Foundation, Inc.
+ Copyright (C) 1991-2016 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 0efa5ddd30..754d8ca131 100644
--- a/manual/examples/setjmp.c
+++ b/manual/examples/setjmp.c
@@ -1,5 +1,5 @@
/* Introduction to Non-Local Exits
- Copyright (C) 1991-2015 Free Software Foundation, Inc.
+ Copyright (C) 1991-2016 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 6814734562..184cfa8d92 100644
--- a/manual/examples/sigh1.c
+++ b/manual/examples/sigh1.c
@@ -1,5 +1,5 @@
/* Signal Handlers that Return
- Copyright (C) 1991-2015 Free Software Foundation, Inc.
+ Copyright (C) 1991-2016 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 fe65160c85..0befcdb54d 100644
--- a/manual/examples/sigusr.c
+++ b/manual/examples/sigusr.c
@@ -1,5 +1,5 @@
/* Using kill for Communication
- Copyright (C) 1991-2015 Free Software Foundation, Inc.
+ Copyright (C) 1991-2016 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 e670d0f62b..e97c6fe223 100644
--- a/manual/examples/stpcpy.c
+++ b/manual/examples/stpcpy.c
@@ -1,5 +1,5 @@
/* stpcpy example.
- Copyright (C) 1991-2015 Free Software Foundation, Inc.
+ Copyright (C) 1991-2016 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 ca927b80aa..8b1a7c3070 100644
--- a/manual/examples/strdupa.c
+++ b/manual/examples/strdupa.c
@@ -1,5 +1,5 @@
/* strdupa example.
- Copyright (C) 1991-2015 Free Software Foundation, Inc.
+ Copyright (C) 1991-2016 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 d0c642ff58..9c9c6170bb 100644
--- a/manual/examples/strftim.c
+++ b/manual/examples/strftim.c
@@ -1,5 +1,5 @@
/* Time Functions Example
- Copyright (C) 1991-2015 Free Software Foundation, Inc.
+ Copyright (C) 1991-2016 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 2c99b73388..8ceb5f3c1d 100644
--- a/manual/examples/subopt.c
+++ b/manual/examples/subopt.c
@@ -1,5 +1,5 @@
/* Parsing of Suboptions Example
- Copyright (C) 1991-2015 Free Software Foundation, Inc.
+ Copyright (C) 1991-2016 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 1ce25c3459..27011edc03 100644
--- a/manual/examples/swapcontext.c
+++ b/manual/examples/swapcontext.c
@@ -1,5 +1,5 @@
/* Complete Context Control
- Copyright (C) 1991-2015 Free Software Foundation, Inc.
+ Copyright (C) 1991-2016 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 2dbc8ba5aa..031667d705 100644
--- a/manual/examples/termios.c
+++ b/manual/examples/termios.c
@@ -1,5 +1,5 @@
/* Noncanonical Mode Example
- Copyright (C) 1991-2015 Free Software Foundation, Inc.
+ Copyright (C) 1991-2016 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 dc35cfb525..7df838a456 100644
--- a/manual/examples/testopt.c
+++ b/manual/examples/testopt.c
@@ -1,5 +1,5 @@
/* Example of Parsing Arguments with getopt.
- Copyright (C) 1991-2015 Free Software Foundation, Inc.
+ Copyright (C) 1991-2016 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 c1743dde34..2c8ddbdac6 100644
--- a/manual/examples/testpass.c
+++ b/manual/examples/testpass.c
@@ -1,5 +1,5 @@
/* Verify a password.
- Copyright (C) 1991-2015 Free Software Foundation, Inc.
+ Copyright (C) 1991-2016 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 f2ca593936..ffac71cbca 100644
--- a/manual/examples/timeval_subtract.c
+++ b/manual/examples/timeval_subtract.c
@@ -1,5 +1,5 @@
/* struct timeval subtraction.
- Copyright (C) 1991-2015 Free Software Foundation, Inc.
+ Copyright (C) 1991-2016 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