From fece5cb6d796119eccb1ae0074e5b3aaccbb74ee Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Mon, 3 Dec 2007 20:05:57 -0600 Subject: Add comments about SUSv3 specs (or lack thereof). --- toys/catv.c | 2 +- toys/count.c | 2 ++ toys/dmesg.c | 4 +++- toys/echo.c | 2 ++ toys/false.c | 2 ++ toys/hello.c | 2 ++ toys/help.c | 2 ++ toys/mdev.c | 4 +++- toys/mke2fs.c | 4 +++- toys/netcat.c | 2 ++ toys/oneit.c | 4 +++- toys/readlink.c | 3 ++- toys/sleep.c | 2 ++ toys/sync.c | 2 ++ toys/touch.c | 2 ++ toys/toysh.c | 2 ++ toys/true.c | 2 ++ toys/which.c | 2 ++ toys/yes.c | 2 ++ 19 files changed, 41 insertions(+), 6 deletions(-) (limited to 'toys') diff --git a/toys/catv.c b/toys/catv.c index 6770c648..806b029a 100644 --- a/toys/catv.c +++ b/toys/catv.c @@ -2,7 +2,7 @@ /* * cat -v implementation for toybox * - * Copyright (C) 2006 Rob Landley + * Copyright (C) 2006, 2007 Rob Landley */ /* See "Cat -v considered harmful" at diff --git a/toys/count.c b/toys/count.c index 901962b2..89f97d05 100644 --- a/toys/count.c +++ b/toys/count.c @@ -1,6 +1,8 @@ /* vi: set sw=4 ts=4: */ /* * count.c - Progress indicator from stdin to stdout + * + * Not in SUSv3. */ #include "toys.h" diff --git a/toys/dmesg.c b/toys/dmesg.c index 59343897..82fa0c39 100644 --- a/toys/dmesg.c +++ b/toys/dmesg.c @@ -2,7 +2,9 @@ /* * dmesg.c - display/control kernel ring buffer. * - * Copyright 2006 Rob Landley + * Copyright 2006, 2007 Rob Landley + * + * Not in SUSv3. */ #include "toys.h" diff --git a/toys/echo.c b/toys/echo.c index be63225e..4a3dd67a 100644 --- a/toys/echo.c +++ b/toys/echo.c @@ -1,6 +1,8 @@ /* vi: set sw=4 ts=4: */ /* * echo.c - echo supporting -n and -e. + * + * See http://www.opengroup.org/onlinepubs/007904975/utilities/echo.html */ #include "toys.h" diff --git a/toys/false.c b/toys/false.c index e8f585c5..aa7bf0e7 100644 --- a/toys/false.c +++ b/toys/false.c @@ -1,6 +1,8 @@ /* vi: set sw=4 ts=4: */ /* * false.c - Return nonzero. + * + * See http://www.opengroup.org/onlinepubs/007904975/utilities/false.html */ #include "toys.h" diff --git a/toys/hello.c b/toys/hello.c index bb344e93..12dd7ac0 100644 --- a/toys/hello.c +++ b/toys/hello.c @@ -1,6 +1,8 @@ /* vi: set sw=4 ts=4: */ /* * hello.c - A hello world program. + * + * Not in SUSv3. */ #include "toys.h" diff --git a/toys/help.c b/toys/help.c index d4849912..6dd7fb1c 100644 --- a/toys/help.c +++ b/toys/help.c @@ -1,6 +1,8 @@ /* vi: set sw=4 ts=4: */ /* * help.c - Show help for toybox + * + * Not in SUSv3, but exists as a bash builtin. */ #include "toys.h" diff --git a/toys/mdev.c b/toys/mdev.c index e979ca13..bc34c0d5 100644 --- a/toys/mdev.c +++ b/toys/mdev.c @@ -2,8 +2,10 @@ * * mdev - Mini udev for busybox * - * Copyright 2005 Rob Landley + * Copyright 2005, 2007 Rob Landley * Copyright 2005 Frank Sorenson + * + * Not in SUSv3. */ #include "toys.h" diff --git a/toys/mke2fs.c b/toys/mke2fs.c index 5c1d8266..32dc2141 100644 --- a/toys/mke2fs.c +++ b/toys/mke2fs.c @@ -2,7 +2,9 @@ * * mke2fs.c - Create an ext2 filesystem image. * - * Copyright 2006 Rob Landley + * Copyright 2006, 2007 Rob Landley + * + * Not in SUSv3. */ #include "toys.h" diff --git a/toys/netcat.c b/toys/netcat.c index 39c531d8..a6d93644 100644 --- a/toys/netcat.c +++ b/toys/netcat.c @@ -2,6 +2,8 @@ /* nc: mini-netcat - Forward stdin/stdout to a file or network connection. * * Copyright 2007 Rob Landley + * + * Not in SUSv3. */ #include "toys.h" diff --git a/toys/oneit.c b/toys/oneit.c index ed4c29ad..5fd61df1 100644 --- a/toys/oneit.c +++ b/toys/oneit.c @@ -1,6 +1,8 @@ /* oneit.c, tiny one-process init replacement. * - * Copyright 2005 by Rob Landley . + * Copyright 2005, 2007 by Rob Landley . + * + * Not in SUSv3. */ #include "toys.h" diff --git a/toys/readlink.c b/toys/readlink.c index 60a49770..c602f78e 100644 --- a/toys/readlink.c +++ b/toys/readlink.c @@ -1,8 +1,9 @@ /* vi: set sw=4 ts=4: */ /* * readlink.c - Return string representation of a symbolic link. + * + * Not in SUSv3. */ -// Note: Hardware in LINK_MAX as 127 since it was removed from glibc. #include "toys.h" diff --git a/toys/sleep.c b/toys/sleep.c index 1426690f..84de7ac2 100644 --- a/toys/sleep.c +++ b/toys/sleep.c @@ -1,6 +1,8 @@ /* vi: set sw=4 ts=4: */ /* * sleep.c - Wait for a number of seconds. + * + * See http://www.opengroup.org/onlinepubs/007904975/utilities/sleep.html */ #include "toys.h" diff --git a/toys/sync.c b/toys/sync.c index dcb141d4..4eed0f53 100644 --- a/toys/sync.c +++ b/toys/sync.c @@ -1,6 +1,8 @@ /* vi: set sw=4 ts=4: */ /* * sync.c - Write all pending data to disk. + * + * Not in SUSv3. */ #include "toys.h" diff --git a/toys/touch.c b/toys/touch.c index 013a388e..9392967a 100644 --- a/toys/touch.c +++ b/toys/touch.c @@ -3,6 +3,8 @@ * touch.c - Modify a file's timestamps. * * Copyright (C) 2007 Charlie Shepherd + * + * See http://www.opengroup.org/onlinepubs/007904975/utilities/touch.html */ #define _XOPEN_SOURCE 600 diff --git a/toys/toysh.c b/toys/toysh.c index dbb187fa..e8fb9f1e 100644 --- a/toys/toysh.c +++ b/toys/toysh.c @@ -6,6 +6,8 @@ * * The spec for this is at: * http://www.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html + * and + * http://www.opengroup.org/onlinepubs/007904975/utilities/sh.html * * Although things like the bash man page are good to read too. */ diff --git a/toys/true.c b/toys/true.c index 6e40eb14..75796429 100644 --- a/toys/true.c +++ b/toys/true.c @@ -1,6 +1,8 @@ /* vi: set sw=4 ts=4: */ /* * true.c - Return zero. + * + * See http://www.opengroup.org/onlinepubs/007904975/utilities/true.html */ #include "toys.h" diff --git a/toys/which.c b/toys/which.c index c01f3bb3..b8c0339a 100644 --- a/toys/which.c +++ b/toys/which.c @@ -3,6 +3,8 @@ * which.c - Find executable files in $PATH. * * Copyright 2006 Rob landley + * + * Not in SUSv3. */ #include "toys.h" diff --git a/toys/yes.c b/toys/yes.c index 0b48929e..d1091993 100644 --- a/toys/yes.c +++ b/toys/yes.c @@ -1,6 +1,8 @@ /* vi: set sw=4 ts=4: */ /* * yes.c - Repeatedly output a string. + * + * Not in SUSv3. */ #include "toys.h" -- cgit v1.2.3