std/private/win_setenv

  Source   Edit

Procs

proc setEnvImpl(name: cstring; value: cstring; overwrite: cint): cint {.
    ...raises: [], tags: [].}
  Source   Edit
proc setEnvironmentVariableA(lpName, lpValue: cstring): int32 {.stdcall,
    dynlib: "kernel32", importc: "SetEnvironmentVariableA", sideEffect,
    ...raises: [], tags: [].}
  Source   Edit