* @set: the set.
* @member: the string to search for.
*
- * Returns the member, or NULL if it isn't in the set.
+ * Returns the member, or NULL if it isn't in the set (and sets errno
+ * = ENOENT).
*
* Example:
* if (strset_test(&set, "hello"))
* @set: the set.
* @member: the string to place in the set.
*
- * This returns false if we run out of memory, or (more normally) if that
- * string already appears in the set.
+ * This returns false if we run out of memory (errno = ENOMEM), or
+ * (more normally) if that string already appears in the set (EEXIST).
*
* Note that the pointer is placed in the set, the string is not copied. If
* you want a copy in the set, use strdup().
* @set: the set.
* @member: the string to remove from the set.
*
- * This returns the string which was passed to strset_set(), or NULL.
+ * This returns the string which was passed to strset_set(), or NULL if
+ * the string was not in the map (in which case it sets errno = ENOENT).
+ *
* This means that if you allocated a string (eg. using strdup()), you can
* free it here.
*