43 lines
1.1 KiB
C
43 lines
1.1 KiB
C
/* readlink.h
|
|
*
|
|
* This file is part of vchanger by Josh Fisher.
|
|
*
|
|
* vchanger copyright (C) 2008-2013 Josh Fisher
|
|
*
|
|
* vchanger is free software.
|
|
* You may redistribute it and/or modify it under the terms of the
|
|
* GNU General Public License version 2, as published by the Free
|
|
* Software Foundation.
|
|
*
|
|
* vchanger is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
* See the GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with vchanger. See the file "COPYING". If not,
|
|
* write to: The Free Software Foundation, Inc.,
|
|
* 59 Temple Place - Suite 330,
|
|
* Boston, MA 02111-1307, USA.
|
|
*/
|
|
|
|
#ifndef _READLINK_H
|
|
#define _READLINK_H
|
|
|
|
#ifndef HAVE_READLINK
|
|
/* For systems without readlink function, use internal version */
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
ssize_t readlink(const char *path, char *buf, size_t bufsiz);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#endif /* _READLINK_H */
|