ENV VAR addresses

A

Anonymous

Joachim Schmitz wrote:
Han said:
(3) use getenv()

Umm, no. For two reasons:

(1) The OP said he doesn't want to use getenv().
(2) The type of access provided by getenv() could best
be described as a keyed access, not direct access. If you
don't know what you're looking for, you're screwed with
getenv().

Yours,
Han from China
 
J

Joachim Schmitz

Anonymous said:
Joachim Schmitz wrote:


Umm, no. For two reasons:

(1) The OP said he doesn't want to use getenv().

Yes, I deliberatly ignored this. (to be perfectly honest: I just missed
it...)
(2) The type of access provided by getenv() could best
be described as a keyed access, not direct access. If you
don't know what you're looking for, you're screwed with
getenv().

True, however: using getenv() is the only portable way.

Bye, Jojo
 
K

Kenny McCormack

Yes, I deliberatly ignored this. (to be perfectly honest: I just missed
it...)


True, however: using getenv() is the only portable way.

That's like saying that printf() is the only portable way.
 
G

Guest

That's like saying that printf() is the only portable way

not really. There are plenty of ways to write to stdout.
There's only one way to read an environmental variable
<pedantic> using the stanadrard library </pedantic>.

--
 
K

Kenny McCormack

That's like saying that printf() is the only portable way

not really. There are plenty of ways to write to stdout.
There's only one way to read an environmental variable
<pedantic> using the stanadrard library </pedantic>.[/QUOTE]

You missed the point.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

ENV VAR addresses 2
ENV VAR addresses 0
ENV VAR addresses 2
ENV VAR addresses 1
ENV VAR addresses 1
ENV VAR addresses 2
ENV VAR addresses 0
ENV VAR addresses 2

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top