diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/posix_conformance.txt | 8 | ||||
-rw-r--r-- | docs/sigint.htm | 10 | ||||
-rw-r--r-- | docs/style-guide.txt | 2 |
3 files changed, 13 insertions, 7 deletions
diff --git a/docs/posix_conformance.txt b/docs/posix_conformance.txt index c0582dc23..8b9112020 100644 --- a/docs/posix_conformance.txt +++ b/docs/posix_conformance.txt | |||
@@ -22,7 +22,7 @@ POSIX Tools supported only as shell built-ins (ash shell): | |||
22 | POSIX Tools not supported: | 22 | POSIX Tools not supported: |
23 | asa, at, batch, bc, c99, command, compress, csplit, ex, fc, file, | 23 | asa, at, batch, bc, c99, command, compress, csplit, ex, fc, file, |
24 | gencat, getconf, iconv, join, link, locale, localedef, lp, m4, | 24 | gencat, getconf, iconv, join, link, locale, localedef, lp, m4, |
25 | mailx, newgrp, nl, paste, pathchk, pax, pr, qalter, qdel, qhold, qmove, | 25 | mailx, newgrp, nl, pathchk, pax, pr, qalter, qdel, qhold, qmove, |
26 | qmsg, qrerun, qrls, qselect, qsig, qstat, qsub, tabs, talk, tput, | 26 | qmsg, qrerun, qrls, qselect, qsig, qstat, qsub, tabs, talk, tput, |
27 | tsort, unlink, uucp, uustat, uux | 27 | tsort, unlink, uucp, uustat, uux |
28 | 28 | ||
@@ -469,6 +469,12 @@ od POSIX options | |||
469 | -x | no | no | | 469 | -x | no | no | |
470 | od Busybox specific options: None | 470 | od Busybox specific options: None |
471 | 471 | ||
472 | paste POSIX options | ||
473 | option | exists | compliant | remarks | ||
474 | -d list | yes | yes | | ||
475 | -s | yes | yes | | ||
476 | paste Busybox specific options: None | ||
477 | |||
472 | patch POSIX options | 478 | patch POSIX options |
473 | option | exists | compliant | remarks | 479 | option | exists | compliant | remarks |
474 | -D define | no | no | | 480 | -D define | no | no | |
diff --git a/docs/sigint.htm b/docs/sigint.htm index e230f4df7..d656aeb8c 100644 --- a/docs/sigint.htm +++ b/docs/sigint.htm | |||
@@ -45,7 +45,7 @@ intention. | |||
45 | 45 | ||
46 | </td></tr><tr><th valign=top align=left>Required knowledge: </th> | 46 | </td></tr><tr><th valign=top align=left>Required knowledge: </th> |
47 | <td valign=top align=left>You have to know what it means to catch SIGINT or SIGQUIT and how | 47 | <td valign=top align=left>You have to know what it means to catch SIGINT or SIGQUIT and how |
48 | processes are waiting for other processes (childs) they spawned. | 48 | processes are waiting for other processes (children) they spawned. |
49 | 49 | ||
50 | 50 | ||
51 | </td></tr></table> | 51 | </td></tr></table> |
@@ -366,7 +366,7 @@ signal, it has to take care of communicating the signal status | |||
366 | itself. | 366 | itself. |
367 | 367 | ||
368 | <p>Some programs don't do this. On SIGINT, they do cleanup and exit | 368 | <p>Some programs don't do this. On SIGINT, they do cleanup and exit |
369 | immediatly, but the calling shell isn't told about the non-normal exit | 369 | immediately, but the calling shell isn't told about the non-normal exit |
370 | and it will call the next program in the script. | 370 | and it will call the next program in the script. |
371 | 371 | ||
372 | <p>As a result, the user hits SIGINT and while one program exits, the | 372 | <p>As a result, the user hits SIGINT and while one program exits, the |
@@ -446,7 +446,7 @@ handlers, so it is portable. | |||
446 | <code>trap</code> command. Here, the same as for C programs apply. If | 446 | <code>trap</code> command. Here, the same as for C programs apply. If |
447 | the intention of SIGINT is to end your program, you have to exit in a | 447 | the intention of SIGINT is to end your program, you have to exit in a |
448 | way that the calling programs "sees" that you have been killed. If | 448 | way that the calling programs "sees" that you have been killed. If |
449 | you don't catch SIGINT, this happend automatically, but of you catch | 449 | you don't catch SIGINT, this happened automatically, but of you catch |
450 | SIGINT, i.e. to do cleanup work, you have to end the program by | 450 | SIGINT, i.e. to do cleanup work, you have to end the program by |
451 | killing yourself, not by calling exit. | 451 | killing yourself, not by calling exit. |
452 | 452 | ||
@@ -466,7 +466,7 @@ files (which isn't really portable in C, though). | |||
466 | bourne shell. Every language implementation that lets you catch SIGINT | 466 | bourne shell. Every language implementation that lets you catch SIGINT |
467 | should also give you the option to reset the signal and kill yourself. | 467 | should also give you the option to reset the signal and kill yourself. |
468 | 468 | ||
469 | <P>It is always desireable to exit the right way, even if you don't | 469 | <P>It is always desirable to exit the right way, even if you don't |
470 | expect your usual callers to depend on it, some unusual one will come | 470 | expect your usual callers to depend on it, some unusual one will come |
471 | along. This proper exit status will be needed for WCE and will not | 471 | along. This proper exit status will be needed for WCE and will not |
472 | hurt when the calling shell uses IUE or WUE. | 472 | hurt when the calling shell uses IUE or WUE. |
@@ -565,7 +565,7 @@ comments the scripts echo. | |||
565 | <th>What happens when a shellscript called emacs, the user did not use | 565 | <th>What happens when a shellscript called emacs, the user did not use |
566 | <code>C-c</code> and the script has additional commands in it?</th> | 566 | <code>C-c</code> and the script has additional commands in it?</th> |
567 | <th>What happens if a non-interactive child catches SIGINT?</th> | 567 | <th>What happens if a non-interactive child catches SIGINT?</th> |
568 | <th>To behave properly, childs must do what?</th> | 568 | <th>To behave properly, children must do what?</th> |
569 | </tr> | 569 | </tr> |
570 | 570 | ||
571 | <tr valign=top align=left> | 571 | <tr valign=top align=left> |
diff --git a/docs/style-guide.txt b/docs/style-guide.txt index 10ed893dc..9eed7f125 100644 --- a/docs/style-guide.txt +++ b/docs/style-guide.txt | |||
@@ -329,7 +329,7 @@ With "const int" compiler may fail to optimize it out and will reserve | |||
329 | a real storage in rodata for it! (Hopefully, newer gcc will get better | 329 | a real storage in rodata for it! (Hopefully, newer gcc will get better |
330 | at it...). With "define", you have slight risk of polluting namespace | 330 | at it...). With "define", you have slight risk of polluting namespace |
331 | (#define doesn't allow you to redefine the name in the inner scopes), | 331 | (#define doesn't allow you to redefine the name in the inner scopes), |
332 | and complex "define" are evaluated each time they uesd, not once | 332 | and complex "define" are evaluated each time they used, not once |
333 | at declarations like enums. Also, the preprocessor does _no_ type checking | 333 | at declarations like enums. Also, the preprocessor does _no_ type checking |
334 | whatsoever, making it much more error prone. | 334 | whatsoever, making it much more error prone. |
335 | 335 | ||