[Libsysio-commit] cplant: libsysio/include cplant-yod.h
Brought to you by:
lward
From: Ruth K. <rk...@us...> - 2003-05-01 22:53:56
|
Update of /cvsroot/libsysio/libsysio/include In directory sc8-pr-cvs1:/tmp/cvs-serv29892 Added Files: Tag: cplant cplant-yod.h Log Message: add cplant yod function definitions --- NEW FILE --- /* * This Cplant(TM) source code is the property of Sandia National * Laboratories. * * This Cplant(TM) source code is copyrighted by Sandia National * Laboratories. * * The redistribution of this Cplant(TM) source code is subject to the * 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. * 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 * Government. */ /* * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * Questions or comments about this library should be sent to: * * Lee Ward * Sandia National Laboratories, New Mexico * P.O. Box 5800 * Albuquerque, NM 87185-1110 * * le...@sa... */ /* * cplant yod I/O functions */ int chmod_yod(const char* path, mode_t); int chown_yod(const char* path, uid_t, gid_t); int stat_yod(const char *path, struct stat *sbuf); int fstat_yod(int fd, struct stat *buf); int statfs_yod(const char *path, struct statfs *sbuf); int fstatfs_yod(int fd, struct statfs *buf); int mkdir_yod(const char *path, mode_t mode); int rmdir_yod(const char *path); int getdirentries_yod(int fd, char *buf, size_t nbytes, loff_t *basep); int link_yod(const char *path1, const char *path2); int unlink_yod(const char *path); int symlink_yod(const char *path1, const char *path2 ); int open_yod(const char *fname, int flags, mode_t mode); int close_yod(int); ssize_t write_yod(int fd, const void *buff, size_t nbytes); ssize_t read_yod(int fd, void *buff, size_t nbytes); int fsync_yod(int fd); int truncate_yod(const char *path, off_t length); int ftruncate_yod(int fd, long length); off_t lseek_yod(int fd, off_t offset, int whence); |