diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-08-28 00:04:58 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-08-28 00:04:58 +0900 |
| commit | 0f41d9667133401f48fb54174cb2b120ed7a769c (patch) | |
| tree | d9e896d1d42e49743ebb29cc3f375e9cf956ffae /internal/sysconf.go | |
| parent | 92f510a6472064f4e4cb47ffb4f81898fc0a62ae (diff) | |
internal: move sysconf wrapper to app
This should not be used and is not useful in other packages.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/sysconf.go')
| -rw-r--r-- | internal/sysconf.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/internal/sysconf.go b/internal/sysconf.go deleted file mode 100644 index 712dce78..00000000 --- a/internal/sysconf.go +++ /dev/null @@ -1,8 +0,0 @@ -package internal - -//#include <unistd.h> -import "C" - -const SC_LOGIN_NAME_MAX = C._SC_LOGIN_NAME_MAX - -func Sysconf(name C.int) int { return int(C.sysconf(name)) } |
