myrandom.c, Linux example driver -

myrandom.c, Linux example driver

This code accompanies Michael Eager's blog “Getting started with Embedded Linux: Part Seven” from April 2014. The article describes the step-by-step development of a simple character device driver for Linux that returns a pseudo-random number when read. This is a similar to the /dev/random virtual device, but simpler, and not to be used in real programs. The completed source is available here.

1 thought on “myrandom.c, Linux example driver

  1. Hi, I’m finding this series incredibly useful, but unfortunately there doesn’t seem to be a link to the code here, and it seems to be very important. Please could you supply the code again?

    Log in to Reply

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.