if(fcntl(fd, F_SETFL, flags) < 0){ printk("Failed to change blocking on fd # %d, errno = %d\n", fd, errno); return(-errno); } 
if(fcntl(fd, F_SETFL, flags) < 0) return -errno;  
int os_set_fd_block(int fd, int blocking){	int flags;	flags = fcntl(fd, F_GETFL);	if(blocking) flags &= ~O_NONBLOCK;	else flags |= O_NONBLOCK;	if(fcntl(fd, F_SETFL, flags) < 0){		printk("Failed to change blocking on fd # %d, errno = %d\n",		       fd, errno);		return(-errno);	}	return(0);}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/b4fd310e163477236a241580b3b8c29aee65f4cc/file.c/buggy/arch/um/os-Linux/file.c