Displaying 1 result from an estimated 1 matches for "syslogin_write_entri".
Did you mean:
syslogin_write_entry
2001 Feb 01
1
linux and _GNU_SOURCE define
I find that adding -D_GNU_SOURCE is useful for linux.
This define enable more features from header files.
First) i found that define enable declaration/definition of following methods
- grantpt(...)
- unlockpt(...)
- ptsname(...)
for device "/dev/ptmx" ( support for ptys, preferred is method openpty (...) )
Second) _GNU_SOURCE enable use of utmpx and wtmpx ( support for login