Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: How does gcc (any compiler) actually convert a function call, say atoi(), into assembly/machine code? Date: Fri, 23 Dec 2016 13:08:48 -0800 Organization: None to speak of Lines: 16 Message-ID: References: <87wpeqbza5.fsf@bsb.me.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx02.eternal-september.org; posting-host="df4a13e992574b38b1b7cd38c2b29037"; logging-data="15409"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18q1jApUbvvZyAD+t+u0+4L" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:kFeZfMUko+DuaKXYKMXiDfli94M= sha1:GUWU5QxjnauUnd/fCWtIcyG89kQ= Xref: csiph.com comp.lang.c:100092 BartC writes: [...] > Maybe you already knew enough to type in the right search terms. Doing > something like "c atoi function source" didn't give anything useful on > the first page. I just tried that exact search. 5 of the 10 results on the first page included (attempted) implementations of atoi() -- most of them incorrect. Is that what you meant when you said the results weren't useful? -- Keith Thompson (The_Other_Keith) kst-u@mib.org Working, but not speaking, for JetHead Development, Inc. "We must do something. This is something. Therefore, we must do this." -- Antony Jay and Jonathan Lynn, "Yes Minister"