usage of fcntl()