Files
2023-05-14 11:44:44 +00:00

8 lines
166 B
Python

import sys, os
# run pwuid_build first, then make sure the shared object is on sys.path
from _pwuid_cffi import ffi, lib
print ffi.string(lib.getpwuid(0).pw_name)