From 4a4295f76cbc154617e8093d7ad7851cd97c6748 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 14 Dec 2004 01:34:56 +0000 Subject: [PATCH] Comment. --- src/lib/kernel/bitmap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/kernel/bitmap.c b/src/lib/kernel/bitmap.c index 95d6890..ea6ce5f 100644 --- a/src/lib/kernel/bitmap.c +++ b/src/lib/kernel/bitmap.c @@ -227,6 +227,7 @@ bitmap_scan (const struct bitmap *b, size_t start, size_t cnt, bool value) START that are all set to VALUE, flips them all to !VALUE, and returns the index of the first bit in the group. If there is no such group, returns BITMAP_ERROR. + If CNT is zero, returns 0. Bits are set atomically, but testing bits is not atomic with setting them. */ size_t -- 2.30.2