Commit graph

7 commits

Author SHA1 Message Date
Russ Magee
907ffc4058 Fixed crash when ttyname(STDIN_FILENO) returns NULL (if parent program is a daemon)
* TODO: add ability for callers to C.pututmp() to provide pty dev name for above case

Signed-off-by: Russ Magee <rmagee@gmail.com>
2018-11-13 23:54:24 -08:00
Russ Magee
ab96663864 GetHost() now handles IPv4 and IPv6 addresses 2018-10-02 11:04:33 -07:00
Russ Magee
bdf19c1664 Use utmp APIs rather than utmpx to be more portable 2018-06-29 14:36:31 -07:00
Russ Magee
9047cf4dd3 GetHost() API 2018-06-27 19:08:56 -07:00
Russ Magee
7ad2b5b340 Removed missed debug printf in C binding code 2018-06-27 17:31:55 -07:00
Russ Magee
e5fe0ea0b3 Added godocs 2018-06-27 15:18:28 -07:00
Russ Magee
487fffbaa5 Renamed pkg to goutmp 2018-06-27 14:57:26 -07:00
Renamed from go_login.go (Browse further)