test-unistd.c

Go to the documentation of this file.
00001 /* Test of <unistd.h> substitute.
00002    Copyright (C) 2007 Free Software Foundation, Inc.
00003 
00004    This program is free software: you can redistribute it and/or modify
00005    it under the terms of the GNU General Public License as published by
00006    the Free Software Foundation; either version 3 of the License, or
00007    (at your option) any later version.
00008 
00009    This program is distributed in the hope that it will be useful,
00010    but WITHOUT ANY WARRANTY; without even the implied warranty of
00011    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012    GNU General Public License for more details.
00013 
00014    You should have received a copy of the GNU General Public License
00015    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
00016 
00017 /* Written by Bruno Haible <bruno@clisp.org>, 2007.  */
00018 
00019 #include <config.h>
00020 
00021 #include <unistd.h>
00022 
00023 /* Check that the various SEEK_* macros are defined.  */
00024 int sk[] = { SEEK_CUR, SEEK_END, SEEK_SET };
00025 
00026 /* Check that the types are all defined.  */
00027 size_t t1;
00028 ssize_t t2;
00029 #ifdef TODO /* Not implemented in gnulib yet */
00030 uid_t t3;
00031 gid_t t4;
00032 #endif
00033 off_t t5;
00034 pid_t t6;
00035 #ifdef TODO
00036 useconds_t t7;
00037 intptr_t t8;
00038 #endif
00039 
00040 int
00041 main ()
00042 {
00043   return 0;
00044 }

Generated on Tue Oct 21 18:28:19 2008 for gsasl by  doxygen 1.5.6