开发者

ioctl

0
  • Operation not permitted

    I want to run some command in python script import fcntl KDSETLED = 0x4B32 SCR_LED= 0x01 c开发者_Python百科onsole_fd = os.open(\'/dev/console\', os.O_NOCTTY)[详细]

    2023-02-04 15:09 分类:问答
  • Communication between delphi application and Windows NT system driver

    I am trying to build a very simple driver. Its sole purpose will be to register \"PsSetCreateProcessNotifyRoutine\" and on callbacks recieved from kernel, notify my Win32 application about which procc[详细]

    2023-01-27 05:55 分类:问答
  • Uninterruptible read/write calls

    At some point during my C programming adventures on Linux, I encountered flags (possibly ioctl/fcntl?), that make reads and writes on a file descriptor uninterruptible.[详细]

    2023-01-09 20:03 分类:问答
  • ATA TRIM Specification?

    Anyone know 开发者_如何学Cwhere I\'d find an ATA reference that details the protocol for triggering a TRIM? I\'m looking to discover what sort of structure/object/data I\'d need to send in a raw IOCTL[详细]

    2023-01-07 06:40 分类:问答
  • get an ioctl file descriptor for ethernet port

    I need to get the file descriptor to use in ioctl() calls for an ethernet port in Linux.Not sure how to 开发者_如何学运维do this.Just use the file descriptor of an open socket, using the name of the d[详细]

    2023-01-03 18:46 分类:问答
  • how can i make IOCTL calls in kernel mode (windows)

    In user mode IOCTL calls can be made via DeviceIoControl function. What can I use in kernel mode to issue IOCTL calls? I must use this inside a filesystem minifilter driver.[详细]

    2023-01-02 01:20 分类:问答
  • Turn off the display on remote PC

    I\'m fixing some bugs in the application for remote control (remote desktop-like) for Windows. And there is a feature that you can blank screen on remote machine - all the programms keep running unaff[详细]

    2022-12-31 21:14 分类:问答
  • C# - Possible to use IOCTL

    I\'m trying to code for a Point Of Sale system which allows for a \"Cash Drawer\" attachment.Code is provided in the manual for opening the cash drawer (in C++ using IOCTL). Since I am coding in C# .N[详细]

    2022-12-30 18:47 分类:问答
  • implementing ioctl() commands in FreeBSD

    I am adding some code to an existing FreeBSD device driver and I am trying to pass a char* from user space to the driver. I\'ve implemented a custom ioctl() command using the _IOW macro like so: #defi[详细]

    2022-12-23 22:10 分类:问答
  • How do you get the terminal size in Go?

    How do I get the terminal size in Go. In C it would look like this: struct ttysize ts; ioctl(0, TIOCGWINSZ, &ts);[详细]

    2022-12-11 04:56 分类:问答