Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a random quote device #27

Open
tpiekarski opened this issue Mar 31, 2020 · 0 comments
Open

Create a random quote device #27

tpiekarski opened this issue Mar 31, 2020 · 0 comments
Labels
practice Just a coding workout...

Comments

@tpiekarski
Copy link
Owner

tpiekarski commented Mar 31, 2020

Create a random quote device

Like MOTD (Message of the day) a device like /dev/quote should randomized output one quote.

$ cat /dev/quote
Lorem ipsum dolor hic amet...

Concepts

  • Basic I/O with a character device (rehearsal)
  • Handling arrays of characters within C (rehearsal)
  • Randomize data the kernel way (new)
  • Access to external files from the kernel (new)
  • Exchange between kernel- and userspace (rehearsal)
  • Testing randomness (rehearsal)
@tpiekarski tpiekarski added the practice Just a coding workout... label Mar 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
practice Just a coding workout...
Projects
None yet
Development

No branches or pull requests

1 participant