⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 funcref-97.html

📁 cc65 的编译器文档
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><HTML><HEAD> <META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.20"> <TITLE>cc65 function reference: Alphabetical function reference: getenv</TITLE> <LINK HREF="funcref-98.html" REL=next> <LINK HREF="funcref-96.html" REL=previous> <LINK HREF="funcref.html#toc3" REL=contents></HEAD><BODY><A HREF="funcref-98.html">Next</A><A HREF="funcref-96.html">Previous</A><A HREF="funcref.html#toc3">Contents</A><HR><H2><A NAME="getenv"></A> 3.56 <A HREF="funcref.html#toc3.56">getenv</A></H2><P><BLOCKQUOTE><DL><DT><B>Function</B><DD><P>Return a value from the environment.</P><DT><B>Header</B><DD><P><CODE><A HREF="funcref-34.html#stdlib.h">stdlib.h</A></CODE></P><DT><B>Declaration</B><DD><P><CODE>char* __fastcall__ getenv (const char* name);</CODE></P><DT><B>Description</B><DD><P>The function searches the environment for an entry thatmatches <CODE>name</CODE> and returns its value. The environment consists of a listof strings in the form <CODE>name=value</CODE>. If there is no match, <CODE>getenv</CODE>returns <CODE>NULL</CODE>.</P><DT><B>Limits</B><DD><P><UL><LI>What exactly is stored in the environment depends on the machine theprogram is running on.</LI><LI>The function is only available as fastcall function, so it may onlybe used in presence of a prototype.</LI></UL></P><DT><B>Availability</B><DD><P>ISO 9899</P><DT><B>Example</B><DD><P>None.</P></DL></BLOCKQUOTE></P><HR><A HREF="funcref-98.html">Next</A><A HREF="funcref-96.html">Previous</A><A HREF="funcref.html#toc3">Contents</A></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -