Blame gettext-tools/gnulib-lib/areadlink.h

Packit Bot 06c835
/* Read symbolic links without size limitation.
Packit Bot 06c835
Packit Bot 06c835
   Copyright (C) 2001, 2003-2004, 2007, 2009-2015 Free Software Foundation,
Packit Bot 06c835
   Inc.
Packit Bot 06c835
Packit Bot 06c835
   This program is free software: you can redistribute it and/or modify
Packit Bot 06c835
   it under the terms of the GNU General Public License as published by
Packit Bot 06c835
   the Free Software Foundation; either version 3 of the License, or
Packit Bot 06c835
   (at your option) any later version.
Packit Bot 06c835
Packit Bot 06c835
   This program is distributed in the hope that it will be useful,
Packit Bot 06c835
   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Bot 06c835
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit Bot 06c835
   GNU General Public License for more details.
Packit Bot 06c835
Packit Bot 06c835
   You should have received a copy of the GNU General Public License
Packit Bot 06c835
   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
Packit Bot 06c835
Packit Bot 06c835
/* Written by Jim Meyering <jim@meyering.net>  */
Packit Bot 06c835
Packit Bot 06c835
#include <stddef.h>
Packit Bot 06c835
Packit Bot 06c835
extern char *areadlink (char const *filename);
Packit Bot 06c835
extern char *areadlink_with_size (char const *filename, size_t size_hint);
Packit Bot 06c835
Packit Bot 06c835
#if GNULIB_AREADLINKAT
Packit Bot 06c835
extern char *areadlinkat (int fd, char const *filename);
Packit Bot 06c835
#endif
Packit Bot 06c835
Packit Bot 06c835
#if GNULIB_AREADLINKAT_WITH_SIZE
Packit Bot 06c835
extern char *areadlinkat_with_size (int fd, char const *filename,
Packit Bot 06c835
                                    size_t size_hint);
Packit Bot 06c835
#endif