HP3000-L Archives

December 2001, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Michael Marxmeier <[log in to unmask]>
Reply To:
Date:
Sat, 29 Dec 2001 04:10:38 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (44 lines)
Stan Sieler wrote:
> BTW, itoa isn't in the "standard" libraries for all Unix systems...

For a good reason though. It is nonstandard and of limited use.
Use sprintf() (or even better snprintf()) for this.

> You could say that there's no such thing as "C library functions".
> There *are* libraries of functions that are available on various releases
> of Unix (and, indeed, most are intended to be called from C) ...
> but that doesn't give them the same air of respectability that the phrase
> "C library function" would seem to bestow.  I guess I'm trying to say
> that on MPE the word "intrinsic" carries certain connotations (including
> documentation, safety, robustness, and availability on all systems) ...
> connotations that don't apply to most routines people call "C library
> functions" on Unix :)

While we are at hot botton pressing ...

Get a documentation for ANSI-C and it comes with a nice list of
generally available and documented functions which are available
in any compliant implementation. This is in no way specific to UNIX.

For the UNIX specific stuff have a look at the SuS specification
(or the various standards that make up UNIX).

http://www.opengroup.org/onlinepubs/007908799/index.html

On a HP-UX box you can have a look in the man page and look at the
section "STANDARDS CONFORMANCE" which lists all the standards
this specific function follows. If it is missing then use of that
function is not portable and you likely don't want it ...


Michael

--
Michael Marxmeier           Marxmeier Software AG
E-Mail: [log in to unmask]  Besenbruchstrasse 9
Phone : +49 202 2431440     42285 Wuppertal, Germany
Fax   : +49 202 2431420     http://www.marxmeier.com/

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2