From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,2afd440a210c7fb0 X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,df8a3dc583bf1f5f X-Google-Attributes: gid1164f8,public X-Google-Thread: 1014db,6bdc5c27a0dec527 X-Google-Attributes: gid1014db,public From: peter@baileynm.com (Peter da Silva) Subject: Re: Compaq prefers Alpha over Merced! BUT OF COURSE, ALPHA * Date: 1998/09/08 Message-ID: <6t2b74$7j4@web.nmti.com>#1/1 X-Deja-AN: 388922861 References: <0095000017115526000002L062*@MHS> <6t18af$p83$1@Starbase.NeoSoft.COM> <6t1i0l$241@web.nmti.com> Organization: Bailey Network Management Newsgroups: comp.os.vms,comp.sys.dec,comp.lang.c In article , Dan Pop wrote: >>and you're allowed to initiate >>posterior expulsion of avian primates[1] if you see main(int ac, char >>**av). >Nonsense. You can safely define a function main(int foo, char **bar) in >a freestanding environment, it's just that it won't do anything special, >unless the documentation of the compiler says otherwise. Fair enough. If the documentation says that this initiates posterior expulsion of avian primates then that's what happens. The C standard doesn't, in any case, specify it. > 4.1.1 Definitions of terms > A string is a contiguous sequence of characters terminated by and > including the first null character. It is represented by a pointer to > its initial (lowest addressed) character and its length is the number > of characters preceding the null character. Other than string literals, though, is there anything in a non-hosted environment that deals with strings? -- In hoc signo hack, Peter da Silva `-_-' "If Microsoft don't think you need it, it's not there and there's no 'U` way to include it yourself." -- Geoff Lane, a.s.r.