Help for this page

Select Code to Download


  1. or download this
    int f = open("/dev/plcm_drv", O_RDWR);
    printf("%x\n", ioctl(f, 0xC, 0) );
    
  2. or download this
    sysopen(DEVICE, "/dev/plcm_drv", O_RDWR);
    print sprintf("%x", ioctl(DEVICE, 0xC, 0)) . "\n";
    
  3. or download this
    Working (C, ioctl 0xC):
    
    ...
    fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
    ioctl(3, 0xc, 0)                        = -1 EINVAL (Invalid argument)
    close(3)                                = 0