Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
0 answers
31 views

I am trying to figure out if theres a way to use GTK (for GUI development) in the Mojo programming language. So far, I havent been able to find any documentation, tutorials, or examples showing how ...
0 votes
0 answers
43 views

i had a sub routine for printing a string dynamically, without manually listing the length of the string in x86-64 intel style through following code (with stack) :- section .data output1 db "...
1 vote
1 answer
75 views

I am writing a simple shell in C on Linux. My goal is to handle the Ctrl+D (EOF) signal such that if the user types a command (e.g., ls) and presses Ctrl+D, the shell exits immediately without running ...
0 votes
0 answers
52 views

This question relates to a long standing open source application that has an FLTK UI and uses Cairo for custom drawing in various places. With FLTK 1.4, there is now a hybrid Wayland/X11 backend. We ...
0 votes
1 answer
107 views

I have a C program and I'm using Meson+Ninja to build it. project('NESt', 'c') source_files=files('src/main.c', 'src/App.h', 'src/App.c', 'src/Emulator.h', 'src/Emulator.c', 'src/Mapper.h'...
0 votes
0 answers
140 views

I'm interested to understand more about performing file IO operations with systems programming languages in a way which does not use both a kernel space buffer and a user space buffer. Specifically I ...
user2138149's user avatar
  • 18.8k
2 votes
1 answer
58 views

I am implementing a destination NAT-like behavior by hooking into NF_INET_PRE_ROUTING and NF_INET_LOCAL_OUT to modify the destination IP address and recalculate the checksums. nf_tracer_handler(void *...
0 votes
0 answers
29 views

environment OS: Arch Linux x86_64 Host: Windows Subsystem for Linux - archlinux (2.6.2.0) Kernel: Linux 6.6.87.2-microsoft-standard-WSL2 compiler: aarch64-linux-gnu-gcc 15.1.0 Using built-in specs. ...
Advice
0 votes
2 replies
37 views

It's seems easy to find examples of using dup2() to cause output (originally) intended for stdout to instead go to a socket: char *stdoutMsg = "This message will be sent to stdout\n"; write(...
ags's user avatar
  • 729
3 votes
2 answers
125 views

I'm a computer science undergraduate student studying Linux kernel USB device drivers. While analyzing the skel_read() function in usb-skeleton.c, I noticed what seems like inconsistent retry logic. I'...
const's user avatar
  • 39
0 votes
0 answers
76 views

Desired behavior Have the central make a connection with the peripheral. The "trouBLE" I run in to The central code returns directly a BleHost(Timeout) error, even with adjusted settings I'...
3 votes
1 answer
119 views

I'm building a shell in Java and currently implementing pipeline logic. For inter-process communication, I've created this class: public class PipeConnector implements Runnable { private final ...
lowkkid's user avatar
  • 43
Best practices
0 votes
2 replies
129 views

I want to generate a memory access trace in Linux where every fixed number of memory accesses (e.g., every 32 accesses) are grouped and recorded as one batch. Is it possible to implement this kind of "...
3 votes
1 answer
99 views

I am looking for some guidance on using io_uring for high-fan-out TCP writes. I have a Rust application that waits for an event in a tight loop. Whenever the event occurs, the same payload needs to be ...
Best practices
1 vote
0 replies
45 views

How should I test a Linux kernel driver, without a real device. It is not a device that QEMU supports(in my case, it's drivers/tty/serial/digicolor-usart.c). Gemini told me I can modify the source ...

15 30 50 per page
1
2 3 4 5
...
15168

AltStyle によって変換されたページ (->オリジナル) /