Diff for /embedaddon/libiconv/srclib/careadlinkat.h between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2012/05/29 09:29:43 version 1.1.1.2, 2021/03/17 13:38:46
Line 1 Line 1
 /* Read symbolic links into a buffer without size limitation, relative to fd.  /* Read symbolic links into a buffer without size limitation, relative to fd.
   
   Copyright (C) 2011 Free Software Foundation, Inc.   Copyright (C) 2011-2019 Free Software Foundation, Inc.
   
    This program is free software: you can redistribute it and/or modify     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     it under the terms of the GNU General Public License as published by
Line 13 Line 13
    GNU General Public License for more details.     GNU General Public License for more details.
   
    You should have received a copy of the GNU General Public License     You should have received a copy of the GNU General Public License
   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */   along with this program.  If not, see <https://www.gnu.org/licenses/>.  */
   
 /* Written by Paul Eggert, Bruno Haible, and Jim Meyering.  */  /* Written by Paul Eggert, Bruno Haible, and Jim Meyering.  */
   
Line 52  char *careadlinkat (int fd, char const *filename, Line 52  char *careadlinkat (int fd, char const *filename,
                     ssize_t (*preadlinkat) (int, char const *,                      ssize_t (*preadlinkat) (int, char const *,
                                             char *, size_t));                                              char *, size_t));
   
/* Suitable values for careadlinkat's FD and PREADLINKAT arguments,/* Suitable value for careadlinkat's FD argument.  */
   when doing a plain readlink: 
   Pass FD = AT_FDCWD and PREADLINKAT = careadlinkatcwd.  */ 
 #if HAVE_READLINKAT  #if HAVE_READLINKAT
 /* AT_FDCWD is declared in <fcntl.h>.  */  /* AT_FDCWD is declared in <fcntl.h>.  */
 #else  #else
 /* Define AT_FDCWD independently, so that the careadlinkat module does  /* Define AT_FDCWD independently, so that the careadlinkat module does
   not depend on the fcntl-h module.  The value does not matter, since   not depend on the fcntl-h module.  We might as well use the same value
   careadlinkatcwd ignores it, but we might as well use the same value 
    as fcntl-h.  */     as fcntl-h.  */
 # ifndef AT_FDCWD  # ifndef AT_FDCWD
 #  define AT_FDCWD (-3041965)  #  define AT_FDCWD (-3041965)
 # endif  # endif
 #endif  #endif
 ssize_t careadlinkatcwd (int fd, char const *filename,  
                          char *buffer, size_t buffer_size);  
   
 #endif /* _GL_CAREADLINKAT_H */  #endif /* _GL_CAREADLINKAT_H */

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>