mirror of
https://github.com/swaywm/sway.git
synced 2026-04-17 06:46:32 -04:00
add cmd_env_unset to remove environment variables
This commit is contained in:
parent
8ca45f2538
commit
ca53b3e4eb
5 changed files with 41 additions and 5 deletions
|
|
@ -19,4 +19,10 @@ char **env_create();
|
|||
*/
|
||||
char **env_setenv(char **envp, char *name, char *value);
|
||||
|
||||
/**
|
||||
* Unsets an environment variable in the given environment.
|
||||
* If successful, this will reallocate the entire array.
|
||||
*/
|
||||
char **env_unsetenv(char **envp, char *name);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue