JWH Smith
Half-way between non-conformism and demanding nature
Browse: Home » C/C++
Manipulating rfkill-using devices programmatically

Manipulating rfkill-using devices programmatically

February 25, 2015 · by John WH Smith · in C/C++, UNIX & Linux

If you are running Linux on a laptop, and using Wireless technologies such as WiFi or Bluetooth, you probably already came across these software switches that allow you enable/disable your wireless devices at the software level (in case you don’t have…

Capturing a webcam stream using v4l2

Capturing a webcam stream using v4l2

December 3, 2014 · by John WH Smith · in C/C++, UNIX & Linux

A few months ago, I came across a blog post dating back to 2013, which described the basics of v4l2, and how to capture a video frame from a camera in Linux. However, this article was missing a few pieces,…

Tracing the Linux system calls

Tracing the Linux system calls

October 29, 2014 · by John WH Smith · in C/C++, UNIX & Linux

Hello there! Today, I want to talk a bit about the Linux system calls, and more specifically, the mechanism offered by the kernel when it comes to tracing them. In this article, I’ll try to describe a part of the /sys…

UNIX: child processes upon parent termination

UNIX: child processes upon parent termination

October 2, 2014 · by John WH Smith · in C/C++, UNIX & Linux

Hello there! Let’s stop talking about development for now. Today, I want to talk about UNIX processes, more specifically, how processes behave when their parent processes are killed or exit. But first, a little reminder about how processes are organised…

3 book recommendations : Linux development

3 book recommendations : Linux development

July 24, 2014 · by John WH Smith · in Books & References, C/C++, UNIX & Linux

Hello again! Let’s have a break, shall we? Let’s forget about the technical stuff for a while… In this article, I’ll present to you a few books I’ve enjoyed in my field, hoping you’ll find them just as interesting. If I…

Easy IPC with POSIX message queues

Easy IPC with POSIX message queues

July 24, 2014 · by John WH Smith · in C/C++, IPC, UNIX & Linux

Hey there! Today, I’m waking up that old blog with another post about C development! What? You’re not happy? Of course you are. In this article, I’ll make a quick overview on on particular IPC technique: the POSIX message queue. First of…

UDP against routers : hole punching

UDP against routers : hole punching

March 29, 2014 · by John WH Smith · in C/C++, Networking

Hello there! Today, I ran a few tests with UDP networking (yes, my hobbies are really exciting), and my results made me think I could write another article… This is the first one related to networking, hopefully it’ll be understandable…

Lightweight databases in C : GDBM

Lightweight databases in C : GDBM

March 6, 2014 · by John WH Smith · in C/C++, UNIX & Linux

If you’re a web developer, or some JDBC fan, you probably already used SQL (or similar) systems such as Oracle, MySQL, PostgreSQL, … (so many of them). These engines are called RDBMS, which stands for Relational Database Management System. These…

Basic daemon programming in C

Basic daemon programming in C

March 2, 2014 · by John WH Smith · in C/C++, UNIX & Linux

Hello there! As a first C article, I thought I could describe a simple, yet useful, daemon programming process. Let’s quote some definitions first. In multitasking computer operating systems, a daemon is a computer program that runs as a background…

Welcome!

Well, looks simple doesn't it? That's how I like it. On this blog, I'll publish technical - nerdy - contents about my latest discoveries and fascinations. You'll find out I'm quite the passionate guy in my field, yet I hope you'll like it as much as I do!

Search

Random Line

Unix is user-friendly. It just isn’t promiscuous about which users it’s friendly with.

— Steven King

Recent Posts

  • Manipulating rfkill-using devices programmatically
  • Capturing a webcam stream using v4l2
  • Tracing the Linux system calls
  • UNIX: child processes upon parent termination
  • 3 book recommendations : Linux development

Pages

  • About me
  • Contact

Stack Exchange

  • Server Fault
  • Stack Overflow
  • Unix & Linux

Copyright © 2021 JWH Smith

Powered by WordPress and Origin

See here for more information about the Let's Encrypt initiative.