Blame gnulib/tests/test-sys_types.c
|
Packit |
06dd63 |
/* Test of <sys/types.h> substitute.
|
|
Packit |
06dd63 |
Copyright (C) 2011-2019 Free Software Foundation, Inc.
|
|
Packit |
06dd63 |
|
|
Packit |
06dd63 |
This program is free software: you can redistribute it and/or modify
|
|
Packit |
06dd63 |
it under the terms of the GNU General Public License as published by
|
|
Packit |
06dd63 |
the Free Software Foundation; either version 3 of the License, or
|
|
Packit |
06dd63 |
(at your option) any later version.
|
|
Packit |
06dd63 |
|
|
Packit |
06dd63 |
This program is distributed in the hope that it will be useful,
|
|
Packit |
06dd63 |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
06dd63 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
Packit |
06dd63 |
GNU General Public License for more details.
|
|
Packit |
06dd63 |
|
|
Packit |
06dd63 |
You should have received a copy of the GNU General Public License
|
|
Packit |
06dd63 |
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
|
Packit |
06dd63 |
|
|
Packit |
06dd63 |
/* Written by Bruno Haible <bruno@clisp.org>, 2011. */
|
|
Packit |
06dd63 |
|
|
Packit |
06dd63 |
#include <config.h>
|
|
Packit |
06dd63 |
|
|
Packit |
06dd63 |
#include <sys/types.h>
|
|
Packit |
06dd63 |
|
|
Packit |
06dd63 |
/* Check that the types are all defined. */
|
|
Packit |
06dd63 |
pid_t t1;
|
|
Packit |
06dd63 |
size_t t2;
|
|
Packit |
06dd63 |
ssize_t t3;
|
|
Packit |
06dd63 |
off_t t4;
|
|
Packit |
06dd63 |
mode_t t5;
|
|
Packit |
06dd63 |
|
|
Packit |
06dd63 |
int
|
|
Packit |
06dd63 |
main (void)
|
|
Packit |
06dd63 |
{
|
|
Packit |
06dd63 |
return 0;
|
|
Packit |
06dd63 |
}
|