--- libaitio/src/aio.c 2013/03/13 14:54:39 1.7 +++ libaitio/src/aio.c 2014/02/08 22:06:17 1.9 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aio.c,v 1.7 2013/03/13 14:54:39 misho Exp $ +* $Id: aio.c,v 1.9 2014/02/08 22:06:17 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -12,7 +12,7 @@ terms: All of the documentation and software included in the ELWIX and AITNET Releases is copyrighted by ELWIX - Sofia/Bulgaria -Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 +Copyright 2004 - 2014 by Michael Pounov . All rights reserved. Redistribution and use in source and binary forms, with or without @@ -60,7 +60,7 @@ struct timespec aiots = { 10, 0 }; * @update = Update file handle position !0 * return: -1 error or !=-1 readed bytes */ -inline int +int io_rread(int fd, void * __restrict buf, size_t nbytes, off_t offset, int update) { int ret; @@ -139,7 +139,7 @@ io_rread(int fd, void * __restrict buf, size_t nbytes, * @update = Update file handle position !0 * return: -1 error or !=-1 written bytes */ -inline int +int io_rwrite(int fd, void * __restrict buf, size_t nbytes, off_t offset, int update) { int ret; @@ -207,7 +207,7 @@ io_rwrite(int fd, void * __restrict buf, size_t nbytes * @sig = Event for completed operations, may be =NULL * return: -1 error or 0 ok */ -inline int +int io_aiobulk(int mode, struct aiocb ** __restrict acbs, int nacb, struct sigevent *sig) { int ret;