Diff for /libaitio/src/aio.c between versions 1.7 and 1.9

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

Removed from v.1.7  
changed lines
  Added in v.1.9


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