libexplain-0.52.D002/0000775000000000000000000000000011724673174011077 5ustar libexplain-0.52.D002/test_chmod/0000775000000000000000000000000011724673174013230 5ustar libexplain-0.52.D002/test_chmod/main.c0000644000000000000000000000346011724662065014316 0ustar /* * libexplain - Explain errno values returned by libc functions * Copyright (C) 2008, 2009 Peter Miller * Written by Peter Miller * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or (at * your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see . */ #include #include #include #include #include #include static void usage(void) { fprintf(stderr, "Usage: test_chmod [