X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Futils.h;h=8d4f9dd692c769f86b2a2aea71d4522eec9b7bbf;hp=fc51d4519f838a5937e56f8e6a64ad685e99ba96;hb=b97d4e9f86e90254ab9edef7ee62a910f6333c78;hpb=c0861d1f8e3869f058bc8b152cd35a08e5b03e73 diff --git a/source/utils.h b/source/utils.h index fc51d45..8d4f9dd 100644 --- a/source/utils.h +++ b/source/utils.h @@ -1,9 +1,3 @@ -/* $Id$ - -This file is part of libmspio -Copyright © 2007 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ #ifndef MSP_IO_UTILS_H_ #define MSP_IO_UTILS_H_ @@ -12,13 +6,12 @@ namespace IO { class Base; -/** -Reads data from an object. Does not return until the requested amount of data -is read, regardless of the blocking mode of the object. +/** Reads data from an object. Does not return until the requested amount of +data is read, regardless of the blocking mode of the object. Note: If the data is not immediately available and the object is in non-blocking -mode, this function effectively becomes a busyloop until it can get more data. -*/ +mode, this function effectively becomes a busyloop until it can get more +data. */ unsigned read_all(Base &, char *, unsigned); } // namespace IO