[Libsysio-commit] HEAD: libsysio/include sysio.h
Brought to you by:
lward
From: Lee W. <lw...@us...> - 2004-05-28 11:52:02
|
Update of /cvsroot/libsysio/libsysio/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2364/include Modified Files: sysio.h Log Message: Kevin Pedretti wanted readlink(2). Here it is. Index: sysio.h =================================================================== RCS file: /cvsroot/libsysio/libsysio/include/sysio.h,v retrieving revision 1.22 retrieving revision 1.23 diff -u -w -b -B -p -r1.22 -r1.23 --- sysio.h 30 Apr 2004 19:24:57 -0000 1.22 +++ sysio.h 28 May 2004 11:51:52 -0000 1.23 @@ -9,7 +9,7 @@ * terms of the GNU Lesser General Public License * (see cit/LGPL or http://www.gnu.org/licenses/lgpl.html) * - * Cplant(TM) Copyright 1998-2003 Sandia Corporation. + * Cplant(TM) Copyright 1998-2004 Sandia Corporation. * Under the terms of Contract DE-AC04-94AL85000, there is a non-exclusive * license for use of this work by or on behalf of the US Government. * Export of this program may require a license from the United States @@ -249,6 +249,9 @@ extern int SYSIO_INTERFACE_NAME(ftruncat #endif extern int SYSIO_INTERFACE_NAME(rmdir)(const char *path); extern int SYSIO_INTERFACE_NAME(symlink)(const char *path1, const char *path2); +extern int SYSIO_INTERFACE_NAME(readlink)(const char *path, + char *buf, + size_t bufsiz); extern int SYSIO_INTERFACE_NAME(link)(const char *oldpath, const char *newpath); extern int SYSIO_INTERFACE_NAME(unlink)(const char *path); extern int SYSIO_INTERFACE_NAME(rename)(const char *oldpath, |