Sujet : Re: bye with exit status
De : albert (at) *nospam* spenarnc.xs4all.nl
Groupes : comp.lang.forthDate : 08. Nov 2024, 18:54:55
Autres entêtes
Organisation : KPN B.V.
Message-ID : <nnd$54f82ffc$6e5e0a9c@6cc2be919654136f>
References : 1 2 3 4
User-Agent : trn 4.0-test77 (Sep 1, 2010)
In article <
vgj268$2p1e5$1@dont-email.me>,
Anthony Howe <
achowe@snert.com> wrote:
On 2024-11-07 06:56, Ruvim wrote:
I would like to find a more appropriate name for this word than "bye-status".
>
(bye) ( u -- )
>
Seems apropos, short, to the point and indicative of an internal word. Default
can be defined to return to the host OS with an exit status `u`, but maybe be
replaced in (unhosted) environments to perform some sort of system reset, power
cycle, or other implementation defined system reset.
I agree that it is the politically correct definition.
However the question was, is it worth it to standardise.
The answer is of course: no.
>
`terminate` is a good candidate, but it's unclear what it should terminate — a
thread/task, or a process, or the own process, or the own thread.
>
TERMINATE could have the same meaning as SIGTERM *:
>
SIGTERM (Terminated)
This signal is the default signal sent by kill(1) and represents a
user or administrator request that a program shut down [normally].
>
* Other signals result in abnormal termination.
>
>
--
Anthony C Howe
achowe@snert.com BarricadeMX & Milters
http://nanozen.snert.com/ http://software.snert.com/
Groetjes Albert
-- Temu exploits Christians: (Disclaimer, only 10 apostles)Last Supper Acrylic Suncatcher - 15Cm Round Stained Glass- Style WallArt For Home, Office And Garden Decor - Perfect For Windows, Bars,And Gifts For Friends Family And Colleagues.