std/private/win_setenv

  Source   Edit

Procs

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