Cool stuff at my junk code repo

I’ve been organizing the stuff I have in my junk code repository and for my surprise I have a lot of cool stuff in there.

There’re examples of: mmap(), longjump(), fifos, signals, sockets and a lot more. On the data structures side: lists, queues , hash tables (here and here) and others.

But it’s important to say that most of these examples were taken from books (mainly from this and this one), although I might have modified some of them.

There’re also some interesting Linux kernel code examples. For example, when I was working on the USB-Serial layer port to the Serial Core API, I’ve written two drivers for a fake serial device. One driver uses the Serial layer directly (that’s what the USB-Serial layer does) and the other one uses the Serial Core API. Cool stuff, and was fun coding it.

3 Responses to “Cool stuff at my junk code repo”

  1. Anonymous Says:

    Hi!

    Is there anything wrong with links? They aren“t working. Could you check it? Thanks!

    –anon.

  2. lcapitulino Says:

    I’ve checked and the problem is that repo.or.cz is down.

    They’ve got a DNS problem some weeks ago that took some time to be fixed, I hope it’s not happening again…

    But I’ve reported already, thanks for reporting.

    PS: repo.or.cz is something like a sourceforge that uses git.

  3. lcapitulino Says:

    Should be fixed now.