Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

curl_getenv(3) [mojave man page]

curl_getenv(3)							  libcurl Manual						    curl_getenv(3)

NAME
curl_getenv - return value for environment name SYNOPSIS
#include <curl/curl.h> char *curl_getenv(const char *name); DESCRIPTION
curl_getenv() is a portable wrapper for the getenv() function, meant to emulate its behaviour and provide an identical interface for all operating systems libcurl builds on (including win32). AVAILABILITY
This function will be removed from the public libcurl API in a near future. It will instead be made "available" by source code access only, and then as curlx_getenv(). RETURN VALUE
If successful, curl_getenv() returns a pointer to the value of the specified environment. The memory it refers to is malloc()ed so the application must free() this when the data is no longer needed. When curl_getenv(3) fails to find the specified name, it returns a null pointer. NOTE
Under unix operating systems, there isn't any point in returning an allocated memory, although other systems won't work properly if this isn't done. The unix implementation thus has to suffer slightly from the drawbacks of other systems. SEE ALSO
getenv(3C), libcurl 7.54.0 February 03, 2016 curl_getenv(3)

Check Out this Related Man Page

curl_getenv(3)							  libcurl Manual						    curl_getenv(3)

NAME
curl_getenv - return value for environment name SYNOPSIS
#include <curl/curl.h> char *curl_getenv(const char *name); DESCRIPTION
curl_getenv() is a portable wrapper for the getenv() function, meant to emulate its behaviour and provide an identical interface for all operating systems libcurl builds on (including win32). AVAILABILITY
This function will be removed from the public libcurl API in a near future. It will instead be made "available" by source code access only, and then as curlx_getenv(). RETURN VALUE
If successful, curl_getenv() returns a pointer to the value of the specified environment. The memory it refers to is malloc()ed so the application must free() this when the data is no longer needed. When curl_getenv(3) fails to find the specified name, it returns a null pointer. NOTE
Under unix operating systems, there isn't any point in returning an allocated memory, although other systems won't work properly if this isn't done. The unix implementation thus has to suffer slightly from the drawbacks of other systems. SEE ALSO
getenv(3C), libcurl 7.12 30 April 2004 curl_getenv(3)
Man Page

14 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Which unix version...

I pulled out my old 386 from the garage and dusted it off, and now i want to install unix on it. The 386 however only has a 104mb HD, and has NO cd rom support. Which if any version of unix would best suite this box? Is installing with floppies my only option? (8 Replies)
Discussion started by: nefarious
8 Replies

2. UNIX for Dummies Questions & Answers

UNIX Dispatching

I'm taking a course Intro to operating systems, and I am hung up on what UNIX dispatching is. Can anyone help me answer this question? Thanks! (3 Replies)
Discussion started by: pattersonwl
3 Replies

3. UNIX for Dummies Questions & Answers

where is unix?

this is going to sound really stupid, but i am new to unix and only have a tiny bit of experience with it such as typing in commands. that's about it. where can i get a copy of the unix software? isn't free to download somewhere? (9 Replies)
Discussion started by: Crimzon
9 Replies

4. What is on Your Mind?

why i havent been posting so frequently...

to start, i will continue to be an active member of this community and still love computers and unix based operating systems. ive been busy recently with a pretty big project, not involving unix :p one of my other hobbies is automobiles. i have a 1986.5 toyota supra, now if anyone here has... (8 Replies)
Discussion started by: norsk hedensk
8 Replies

5. What is on Your Mind?

unix date getting too large

I have heard that in 2039? that the unix date will be too large for the operating system and unix will no longer be usable. anyone else heard of this or is it anothe y2k scare? thanks:confused: (3 Replies)
Discussion started by: dhlopomo
3 Replies

6. UNIX for Advanced & Expert Users

Help to enchance unix tool..

HI friends , I was assigned to enhance tool in unix solaris...the tool is totaly developed on shell and perl scripts... The tool is used to change control files....The users are of certain group.. due to many users some people are changing these control files directly by using editors... (10 Replies)
Discussion started by: Nagabhushan
10 Replies

7. UNIX for Dummies Questions & Answers

insert null in unix files

Hi everybody, How to add null values in unix file? This is what was asked to me in an interview. (4 Replies)
Discussion started by: sachin.gangadha
4 Replies

8. UNIX Desktop Questions & Answers

UNIX for beginners

I am new to non Windows operating systems. Does anyone have advice on which UNIX OS vendor would be good for learning purposes. I was looking for a version of UNIX that runs on the Intel platform. Do you have any recommendations on where to purchase the software? Thank you. (14 Replies)
Discussion started by: jmy113437
14 Replies

9. UNIX for Dummies Questions & Answers

So if I was to use a unix based o/s as my first wich should it be?

I have never used any unix based operating systems and I am interested in trying. Wich would you prefer for me to use? Also I am looking to learn unix code not to use for anything else. (3 Replies)
Discussion started by: Slaviko
3 Replies

10. UNIX for Advanced & Expert Users

hello friends

:confused: i'am new to this unix environment.can any one give guidence in how to c programs for inter communication process (4 Replies)
Discussion started by: shaffiullabaig
4 Replies

11. UNIX for Advanced & Expert Users

find out unix port number

Please could some advise me the command to find out the unix port number. regards venhart (4 Replies)
Discussion started by: venhart
4 Replies

12. Solaris

Where to start

Hi all, Before I start, I just wanted to mention that I did check in the "I'm new to Unix, what books should I read" sub-forum but didn't find anything that I thought was useful (or maybe I don't know what I'm looking for!). I'm a Windows Admin, have been for quite a few years, all the way... (12 Replies)
Discussion started by: Gaskie
12 Replies

13. UNIX for Beginners Questions & Answers

UNIX/Shell function does not work as wished

Hello everyone I really hope you can help me, I can't continue: Im on a project to work with my Server. I wanted to put on my server all data-systems and I did this: df -h The output is a string. How can I turn the string into a table? Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf... (5 Replies)
Discussion started by: anonymuser
5 Replies

14. UNIX for Beginners Questions & Answers

UNIX replacing and incrementing number

Hi I am unix newbie looking for a unix bash script that can make it easier to do my code work. we have a code number for each code block that we want to incrementally assign. We have 10000 of these and it is very laborious to do this one by one. so what we want is start from the top of the... (4 Replies)
Discussion started by: chamajid
4 Replies