X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fcommon.h;h=2be2ff504b84f58276bc3304ef5696c5623ec52d;hb=2403dd00be7ee359a1da567ec1a3d1dddf179a58;hp=f6a8e19a68843b71acec79896d5592dc41e244ad;hpb=ae63361fe92090051cb08f2e6ad49d8dd135b3eb;p=collectd.git diff --git a/src/common.h b/src/common.h index f6a8e19a..2be2ff50 100644 --- a/src/common.h +++ b/src/common.h @@ -43,7 +43,8 @@ void *smalloc(size_t size); * * DESCRIPTION * Reads exactly `n' bytes or failes. Syntax and other behavior is analogous - * to `read(2)'. + * to `read(2)'. If EOF is received the file descriptor is closed and an + * error is returned. * * PARAMETERS * `fd' File descriptor to write to.