Message-Id: Comments: Authenticated sender is From: "Salvador Eduardo Tropea (SET)" Organization: INTI To: Nate Eldredge , djgpp AT delorie DOT com Date: Tue, 10 Feb 1998 10:36:45 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Suggestion: Portability section for libc docs In-reply-to: <199802100441.UAA02948@adit.ap.net> Precedence: bulk Nate Eldredge wrote: > Although DJGPP is of course the best DOS development environment in the > known universe :), there is one feature I miss from Turbo C. There, the > documentation for each function included a "Portability" section, indicating > how possible it would be to use the function on other systems. I'd like to > suggest something similar be added to DJGPP. Each function could say whether > it is ANSI, POSIX, available on Unix or other DOS compilers, unique to > DJGPP, etc. > Before everyone gets upset, I am willing to work on this myself. However, I > don't have the ANSI or POSIX standards and don't have much experience with > other DOS compilers, other than a very old version of Turbo C. Perhaps > someone can tell me where I can get (by e-mail or FTP only, please) > summaries or lists of functions defined by the standards (or even the > standards themselves, though I gather they cost lots of money :( ). > > I think this would be a significant aid to people trying to write portable > programs with DJGPP. Well, at first libc is organized in separated dirs for ANSI/POSIX/DOS, that could help you. Another interesting thing is to have the libc.info file from Linux in your hard-disk to check if the function exists in Linux (I have it). And you can use as last resort the information from the TurboC help. That's a good idea, I look the Linux help all the time to check it ;-) SET ------------------------------------ 0 -------------------------------- Visit my home page: http://set-soft.home.ml.org/ or http://www.geocities.com/SiliconValley/Vista/6552/ Salvador Eduardo Tropea (SET). (Electronics Engineer) Alternative e-mail: set-sot AT usa DOT net - ICQ: 2951574 Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA TE: +(541) 759 0013