about summary refs log tree commit diff
path: root/manual/examples
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2024-01-01 10:12:26 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2024-01-01 10:53:40 -0800
commitdff8da6b3e89b986bb7f6b1ec18cf65d5972e307 (patch)
tree09151f6e3abfe04e677d62d685088a16c23e7dcf /manual/examples
parentcf9481724bcb86ad4a86cca7befed74bb9cc15eb (diff)
downloadglibc-dff8da6b3e89b986bb7f6b1ec18cf65d5972e307.tar.gz
glibc-dff8da6b3e89b986bb7f6b1ec18cf65d5972e307.tar.xz
glibc-dff8da6b3e89b986bb7f6b1ec18cf65d5972e307.zip
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/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/timeval_subtract.c2
-rw-r--r--manual/examples/twalk.c2
41 files changed, 41 insertions, 41 deletions
diff --git a/manual/examples/add.c b/manual/examples/add.c
index 6d2c378baa..2cf55b4728 100644
--- a/manual/examples/add.c
+++ b/manual/examples/add.c
@@ -1,5 +1,5 @@
 /* Example of a Variadic Function
-   Copyright (C) 1991-2023 Free Software Foundation, Inc.
+   Copyright (C) 1991-2024 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 ac2a449d80..48bb1db15a 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-2023 Free Software Foundation, Inc.
+   Copyright (C) 1991-2024 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 e1c7a192ed..ac7f4f9a6d 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-2023 Free Software Foundation, Inc.
+   Copyright (C) 1991-2024 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 6f93a4607e..022e35d656 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-2023 Free Software Foundation, Inc.
+   Copyright (C) 1991-2024 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 a909307d12..9847384ac9 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-2023 Free Software Foundation, Inc.
+   Copyright (C) 1991-2024 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 64446c7fa5..ef62520888 100644
--- a/manual/examples/atexit.c
+++ b/manual/examples/atexit.c
@@ -1,5 +1,5 @@
 /* Cleanups on Exit
-   Copyright (C) 1991-2023 Free Software Foundation, Inc.
+   Copyright (C) 1991-2024 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 5f8184188e..e3eebd44c7 100644
--- a/manual/examples/db.c
+++ b/manual/examples/db.c
@@ -1,5 +1,5 @@
 /* User and Group Database Example
-   Copyright (C) 1991-2023 Free Software Foundation, Inc.
+   Copyright (C) 1991-2024 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 81f37fed71..4232249f3c 100644
--- a/manual/examples/dir.c
+++ b/manual/examples/dir.c
@@ -1,5 +1,5 @@
 /* Simple Program to List a Directory
-   Copyright (C) 1991-2023 Free Software Foundation, Inc.
+   Copyright (C) 1991-2024 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 43d7c5e20a..9473fd49c5 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-2023 Free Software Foundation, Inc.
+   Copyright (C) 1991-2024 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 f22cd56f4e..b26d5f330f 100644
--- a/manual/examples/execinfo.c
+++ b/manual/examples/execinfo.c
@@ -1,5 +1,5 @@
 /* Obtain a backtrace and print it.
-   Copyright (C) 1991-2023 Free Software Foundation, Inc.
+   Copyright (C) 1991-2024 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 1ade5efe58..9ee20d1d0b 100644
--- a/manual/examples/filecli.c
+++ b/manual/examples/filecli.c
@@ -1,5 +1,5 @@
 /* Example of Reading Datagrams
-   Copyright (C) 1991-2023 Free Software Foundation, Inc.
+   Copyright (C) 1991-2024 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 75c6ff8708..2a5bbc1768 100644
--- a/manual/examples/filesrv.c
+++ b/manual/examples/filesrv.c
@@ -1,5 +1,5 @@
 /* Datagram Socket Example
-   Copyright (C) 1991-2023 Free Software Foundation, Inc.
+   Copyright (C) 1991-2024 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 2a57a2c1fc..9b8aeff794 100644
--- a/manual/examples/fmtmsgexpl.c
+++ b/manual/examples/fmtmsgexpl.c
@@ -1,5 +1,5 @@
 /* How to use fmtmsg and addseverity.
-   Copyright (C) 1991-2023 Free Software Foundation, Inc.
+   Copyright (C) 1991-2024 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 c95bc1fcc7..1d46be884d 100644
--- a/manual/examples/inetcli.c
+++ b/manual/examples/inetcli.c
@@ -1,5 +1,5 @@
 /* Byte Stream Socket Example
-   Copyright (C) 1991-2023 Free Software Foundation, Inc.
+   Copyright (C) 1991-2024 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 aa0971455a..dc77f61adf 100644
--- a/manual/examples/inetsrv.c
+++ b/manual/examples/inetsrv.c
@@ -1,5 +1,5 @@
 /* Byte Stream Connection Server Example
-   Copyright (C) 1991-2023 Free Software Foundation, Inc.
+   Copyright (C) 1991-2024 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 3026444e44..4308e6ef19 100644
--- a/manual/examples/isockad.c
+++ b/manual/examples/isockad.c
@@ -1,5 +1,5 @@
 /* Internet Socket Example using sockaddr_in.
-   Copyright (C) 1991-2023 Free Software Foundation, Inc.
+   Copyright (C) 1991-2024 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 ebad9d88e9..b0cc64a3b3 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-2023 Free Software Foundation, Inc.
+   Copyright (C) 1991-2024 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 8b114fbec8..4d3f8ff73c 100644
--- a/manual/examples/memopen.c
+++ b/manual/examples/memopen.c
@@ -1,5 +1,5 @@
 /* String Streams
-   Copyright (C) 1991-2023 Free Software Foundation, Inc.
+   Copyright (C) 1991-2024 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 44d8910088..baf2f3d6f1 100644
--- a/manual/examples/memstrm.c
+++ b/manual/examples/memstrm.c
@@ -1,5 +1,5 @@
 /* open_memstream example.
-   Copyright (C) 1991-2023 Free Software Foundation, Inc.
+   Copyright (C) 1991-2024 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 62bdc533d4..f42b137273 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-2023 Free Software Foundation, Inc.
+   Copyright (C) 2016-2024 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 cc422730b7..4810b9c673 100644
--- a/manual/examples/mkfsock.c
+++ b/manual/examples/mkfsock.c
@@ -1,5 +1,5 @@
 /* Example of Local-Namespace Sockets
-   Copyright (C) 1991-2023 Free Software Foundation, Inc.
+   Copyright (C) 1991-2024 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 7b8eaae16a..e2730380b3 100644
--- a/manual/examples/mkisock.c
+++ b/manual/examples/mkisock.c
@@ -1,5 +1,5 @@
 /* Internet Socket Example
-   Copyright (C) 1991-2023 Free Software Foundation, Inc.
+   Copyright (C) 1991-2024 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 9ee3a661d6..8bb943ac5b 100644
--- a/manual/examples/mygetpass.c
+++ b/manual/examples/mygetpass.c
@@ -1,5 +1,5 @@
 /* Reading passphrases manually.
-   Copyright (C) 1991-2023 Free Software Foundation, Inc.
+   Copyright (C) 1991-2024 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 9d777f738e..f1339b52a9 100644
--- a/manual/examples/ofdlocks.c
+++ b/manual/examples/ofdlocks.c
@@ -1,5 +1,5 @@
 /* Open File Description Locks Usage Example
-   Copyright (C) 1991-2023 Free Software Foundation, Inc.
+   Copyright (C) 1991-2024 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 04d9982a61..5dc4dc7eb1 100644
--- a/manual/examples/pipe.c
+++ b/manual/examples/pipe.c
@@ -1,5 +1,5 @@
 /* Creating a Pipe
-   Copyright (C) 1991-2023 Free Software Foundation, Inc.
+   Copyright (C) 1991-2024 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 0076b19342..da76280405 100644
--- a/manual/examples/popen.c
+++ b/manual/examples/popen.c
@@ -1,5 +1,5 @@
 /* Pipe to a Subprocess
-   Copyright (C) 1991-2023 Free Software Foundation, Inc.
+   Copyright (C) 1991-2024 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 620d235ecf..2e76c68855 100644
--- a/manual/examples/rprintf.c
+++ b/manual/examples/rprintf.c
@@ -1,5 +1,5 @@
 /* Printf Extension Example
-   Copyright (C) 1991-2023 Free Software Foundation, Inc.
+   Copyright (C) 1991-2024 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 8d53717101..ff8cf6a3a9 100644
--- a/manual/examples/search.c
+++ b/manual/examples/search.c
@@ -1,5 +1,5 @@
 /* Searching and Sorting Example
-   Copyright (C) 1991-2023 Free Software Foundation, Inc.
+   Copyright (C) 1991-2024 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 cda8a48763..e1132eb674 100644
--- a/manual/examples/select.c
+++ b/manual/examples/select.c
@@ -1,5 +1,5 @@
 /* Waiting for Input or Output
-   Copyright (C) 1991-2023 Free Software Foundation, Inc.
+   Copyright (C) 1991-2024 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 4515e3f3a2..afc41ef009 100644
--- a/manual/examples/setjmp.c
+++ b/manual/examples/setjmp.c
@@ -1,5 +1,5 @@
 /* Introduction to Non-Local Exits
-   Copyright (C) 1991-2023 Free Software Foundation, Inc.
+   Copyright (C) 1991-2024 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 1f06db3f38..58f3ceea04 100644
--- a/manual/examples/sigh1.c
+++ b/manual/examples/sigh1.c
@@ -1,5 +1,5 @@
 /* Signal Handlers that Return
-   Copyright (C) 1991-2023 Free Software Foundation, Inc.
+   Copyright (C) 1991-2024 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 94cff006bd..cdfef7b73f 100644
--- a/manual/examples/sigusr.c
+++ b/manual/examples/sigusr.c
@@ -1,5 +1,5 @@
 /* Using kill for Communication
-   Copyright (C) 1991-2023 Free Software Foundation, Inc.
+   Copyright (C) 1991-2024 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 f6d98abefb..f0f45a4f26 100644
--- a/manual/examples/stpcpy.c
+++ b/manual/examples/stpcpy.c
@@ -1,5 +1,5 @@
 /* stpcpy example.
-   Copyright (C) 1991-2023 Free Software Foundation, Inc.
+   Copyright (C) 1991-2024 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 da2e8bb092..54163ceef8 100644
--- a/manual/examples/strdupa.c
+++ b/manual/examples/strdupa.c
@@ -1,5 +1,5 @@
 /* strdupa example.
-   Copyright (C) 1991-2023 Free Software Foundation, Inc.
+   Copyright (C) 1991-2024 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 bb737ddbe8..304981dfc3 100644
--- a/manual/examples/strftim.c
+++ b/manual/examples/strftim.c
@@ -1,5 +1,5 @@
 /* Time Functions Example
-   Copyright (C) 1991-2023 Free Software Foundation, Inc.
+   Copyright (C) 1991-2024 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 56c71ccd41..1bbb5411b9 100644
--- a/manual/examples/subopt.c
+++ b/manual/examples/subopt.c
@@ -1,5 +1,5 @@
 /* Parsing of Suboptions Example
-   Copyright (C) 1991-2023 Free Software Foundation, Inc.
+   Copyright (C) 1991-2024 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 98a5a5b91b..c07e19bb44 100644
--- a/manual/examples/swapcontext.c
+++ b/manual/examples/swapcontext.c
@@ -1,5 +1,5 @@
 /* Complete Context Control
-   Copyright (C) 1991-2023 Free Software Foundation, Inc.
+   Copyright (C) 1991-2024 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 65bedad9cc..ba70a01ea9 100644
--- a/manual/examples/termios.c
+++ b/manual/examples/termios.c
@@ -1,5 +1,5 @@
 /* Noncanonical Mode Example
-   Copyright (C) 1991-2023 Free Software Foundation, Inc.
+   Copyright (C) 1991-2024 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 6719931acb..1452c47195 100644
--- a/manual/examples/testopt.c
+++ b/manual/examples/testopt.c
@@ -1,5 +1,5 @@
 /* Example of Parsing Arguments with getopt.
-   Copyright (C) 1991-2023 Free Software Foundation, Inc.
+   Copyright (C) 1991-2024 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 b263a73644..20c246320d 100644
--- a/manual/examples/timeval_subtract.c
+++ b/manual/examples/timeval_subtract.c
@@ -1,5 +1,5 @@
 /* struct timeval subtraction.
-   Copyright (C) 1991-2023 Free Software Foundation, Inc.
+   Copyright (C) 1991-2024 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 9ab5319d33..88a15721b9 100644
--- a/manual/examples/twalk.c
+++ b/manual/examples/twalk.c
@@ -1,5 +1,5 @@
 /* Implement twalk using twalk_r.
-   Copyright (C) 2019-2023 Free Software Foundation, Inc.
+   Copyright (C) 2019-2024 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