From 452f30c016f6c4d988285bce19665038601f4a2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ciro=20Santilli=20=E5=85=AD=E5=9B=9B=E4=BA=8B=E4=BB=B6=20?= =?UTF-8?q?=E6=B3=95=E8=BD=AE=E5=8A=9F?= Date: Thu, 16 Jan 2020 00:00:01 +0000 Subject: [PATCH] userland name convention --- README.adoc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.adoc b/README.adoc index d6eb690..95211ad 100644 --- a/README.adoc +++ b/README.adoc @@ -15130,6 +15130,16 @@ Tests under link:userland/libs[] require certain optional libraries to be instal See for example <>. +=== Userland content filename conventions + +The following basenames should always refer to programs that do the same thing, but in different languages: + +* `count`: count to infinity, sleep one second between each number +** link:rootfs_overlay/lkmc/count.sh[] +** link:rootfs_overlay/lkmc/python/count.py[] +** link:userland/cpp/count.cpp[] +** link:userland/posix/count.c[] + === Userland content bibliography * The Linux Programming Interface by Michael Kerrisk https://www.amazon.co.uk/Linux-Programming-Interface-System-Handbook/dp/1593272200 Lots of open source POSIX examples: https://github.com/cirosantilli/linux-programming-interface-kerrisk