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

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