On 2026-08-10 05:54, Jakob Bohm via Cygwin wrote:

The Pre-ANSI C language had no standard library, but most non-UNIX implementations included some subset of the historic UNIX(R) C library headers such as <io.h> etc.


You sure about that? 4.2 / 4.3 BSD UNIX (pre-ansi-C, i.e. K&R v1), while they did not have libstdc.a / stdlib.h, they did have quite a bit packed into libc.a, which was implicitly given to the linker from the top-level cc command.

Or are you in fact referring to -lstdc and #include <stdlib.h>?
(in which case, I'm sorry for the noise.)

[K&R v1 is still the most elegant language ever to grace the systems.]

--
--*greywolf;

Attachment: OpenPGP_0x2C80F168914E2DF6.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to