VirtualBox

Changeset 8163 in vbox for trunk/include/iprt/env.h


Ignore:
Timestamp:
Apr 18, 2008 4:38:25 PM (17 years ago)
Author:
vboxsync
Message:

rebrand IPRT

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/env.h

    r8155 r8163  
    11/** @file
    2  * innotek Portable Runtime - Process Environment Strings.
     2 * Incredibly Portable Runtime - Process Environment Strings.
    33 */
    44
     
    4848/**
    4949 * Creates an empty environment block.
    50  * 
    51  * @returns IPRT status code. Typical error is VERR_NO_MEMORY.
    52  * 
     50 *
     51 * @returns IPRT status code. Typical error is VERR_NO_MEMORY.
     52 *
    5353 * @param   pEnv        Where to store the handle of the new environment block.
    5454 */
     
    7878/**
    7979 * Get the execve/spawnve/main envp.
    80  * 
     80 *
    8181 * All returned strings are in the current process' codepage.
    8282 * This array is only valid until the next RTEnv call.
    83  * 
     83 *
    8484 * @returns Pointer to the raw array of environment variables.
    8585 * @returns NULL if Env is NULL or invalid.
    86  * 
     86 *
    8787 * @param   Env     Environment block handle.
    8888 */
     
    9292/**
    9393 * Checks if an environment variable exists in the default environment block.
    94  * 
    95  * @returns IPRT status code. Typical error is VERR_NO_MEMORY.
    96  * 
    97  * @param   pszVar      The environment variable name.
    98  * @remark  WARNING! The current implementation does not perform the appropriate 
     94 *
     95 * @returns IPRT status code. Typical error is VERR_NO_MEMORY.
     96 *
     97 * @param   pszVar      The environment variable name.
     98 * @remark  WARNING! The current implementation does not perform the appropriate
    9999 *          codeset conversion. We'll figure this out when it becomes necessary.
    100100 */
     
    103103/**
    104104 * Checks if an environment variable exists in a specific environment block.
    105  * 
    106  * @returns IPRT status code. Typical error is VERR_NO_MEMORY.
    107  * 
     105 *
     106 * @returns IPRT status code. Typical error is VERR_NO_MEMORY.
     107 *
    108108 * @param   Env         The environment handle.
    109109 * @param   pszVar      The environment variable name.
     
    113113/**
    114114 * Gets an environment variable from the default environment block. (getenv).
    115  * 
    116  * The caller is responsible for ensuring that nobody changes the environment 
     115 *
     116 * The caller is responsible for ensuring that nobody changes the environment
    117117 * while it's using the returned string pointer!
    118  * 
     118 *
    119119 * @returns Pointer to read only string on success, NULL if the variable wasn't found.
    120  * 
    121  * @param   pszVar      The environment variable name.
    122  * 
    123  * @remark  WARNING! The current implementation does not perform the appropriate 
     120 *
     121 * @param   pszVar      The environment variable name.
     122 *
     123 * @remark  WARNING! The current implementation does not perform the appropriate
    124124 *          codeset conversion. We'll figure this out when it becomes necessary.
    125125 */
     
    128128/**
    129129 * Gets an environment variable in a specific environment block.
    130  * 
    131  * @returns IPRT status code.
    132  * 
     130 *
     131 * @returns IPRT status code.
     132 *
    133133 * @param   Env         The environment handle.
    134134 * @param   pszVar      The environment variable name.
     
    141141/**
    142142 * Puts an variable=value string into the environment (putenv).
    143  * 
    144  * @returns IPRT status code. Typical error is VERR_NO_MEMORY.
    145  * 
    146  * @param   pszVarEqualValue    The variable '=' value string. If the value and '=' is 
     143 *
     144 * @returns IPRT status code. Typical error is VERR_NO_MEMORY.
     145 *
     146 * @param   pszVarEqualValue    The variable '=' value string. If the value and '=' is
    147147 *                              omitted, the variable is removed from the environment.
    148  * 
     148 *
    149149 * @remark Don't assume the value is copied.
    150  * @remark  WARNING! The current implementation does not perform the appropriate 
     150 * @remark  WARNING! The current implementation does not perform the appropriate
    151151 *          codeset conversion. We'll figure this out when it becomes necessary.
    152152 */
     
    155155/**
    156156 * Puts a copy of the passed in 'variable=value' string into the environment block.
    157  * 
    158  * @returns IPRT status code. Typical error is VERR_NO_MEMORY.
    159  * 
     157 *
     158 * @returns IPRT status code. Typical error is VERR_NO_MEMORY.
     159 *
    160160 * @param   Env                 Handle of the environment block.
    161  * @param   pszVarEqualValue    The variable '=' value string. If the value and '=' is 
     161 * @param   pszVarEqualValue    The variable '=' value string. If the value and '=' is
    162162 *                              omitted, the variable is removed from the environment.
    163163 */
     
    166166/**
    167167 * Sets an environment variable (setenv(,,1)).
    168  * 
    169  * @returns IPRT status code. Typical error is VERR_NO_MEMORY.
    170  * 
     168 *
     169 * @returns IPRT status code. Typical error is VERR_NO_MEMORY.
     170 *
    171171 * @param   pszVar      The environment variable name.
    172172 * @param   pszValue    The environment variable value.
    173  * 
    174  * @remark  WARNING! The current implementation does not perform the appropriate 
     173 *
     174 * @remark  WARNING! The current implementation does not perform the appropriate
    175175 *          codeset conversion. We'll figure this out when it becomes necessary.
    176176 */
     
    179179/**
    180180 * Sets an environment variable (setenv(,,1)).
    181  * 
    182  * @returns IPRT status code. Typical error is VERR_NO_MEMORY.
    183  * 
     181 *
     182 * @returns IPRT status code. Typical error is VERR_NO_MEMORY.
     183 *
    184184 * @param   Env         The environment handle.
    185185 * @param   pszVar      The environment variable name.
     
    190190/**
    191191 * Removes an environment variable from the default environment block.
    192  * 
     192 *
    193193 * @returns IPRT status code.
    194194 * @returns VINF_ENV_VAR_NOT_FOUND if the variable was not found.
    195  * 
    196  * @param   pszVar      The environment variable name.
    197  * 
    198  * @remark  WARNING! The current implementation does not perform the appropriate 
     195 *
     196 * @param   pszVar      The environment variable name.
     197 *
     198 * @remark  WARNING! The current implementation does not perform the appropriate
    199199 *          codeset conversion. We'll figure this out when it becomes necessary.
    200200 */
     
    203203/**
    204204 * Removes an environment variable from the specified environment block.
    205  * 
     205 *
    206206 * @returns IPRT status code.
    207207 * @returns VINF_ENV_VAR_NOT_FOUND if the variable was not found.
    208  * 
     208 *
    209209 * @param   Env         The environment handle.
    210210 * @param   pszVar      The environment variable name.
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette