github.com/primecitizens/pcz/std@v0.2.1/core/sys/argv_wtf16.go (about)

     1  // SPDX-License-Identifier: Apache-2.0
     2  // Copyright 2023 The Prime Citizens
     3  
     4  //go:build !noos && windows
     5  
     6  package sys
     7  
     8  import (
     9  	_ "unsafe" // for go:linkname
    10  )
    11  
    12  var (
    13  	//go:linkname _args rt0.args
    14  	_args []*uint16
    15  	args  []string
    16  )
    17  
    18  func ntharg(i int) string {
    19  	return args[i]
    20  }