rem: if (count <= 0)
add: if (count <= 0) { if (count < 0) errno = count;
context: readdir(DIR *dir){	/* get the next entry and return a pointer to a dirent structure 	 * containing the data	 */		ssize_t count = sys_read_dir(dir->fd, &dir->ent, BUFFER_SIZE, 1);	if (count <= 0)		return NULL;		return &dir->ent;}