- Configure git.
# ~/.config/git/config
[sendemail]
confirm = auto
smtpServer = smtp.gmail.com
smtpServerPort = 587
smtpEncryption = tls
smtpUser = <gmail email address># ~/.config/git/config
[sendemail]
confirm = auto
smtpServer = smtp.gmail.com
smtpServerPort = 587
smtpEncryption = tls
smtpUser = <gmail email address>| #include <utmpx.h> | |
| #include <paths.h> | |
| #include <stdlib.h> | |
| #include <stdio.h> | |
| #include <string.h> | |
| int main(int argc, char **argv){ | |
| struct utmpx data; | |
| FILE *log_file = fopen(_PATH_UTMP, "r"); | |
| memset(&data, 0, sizeof(struct utmpx)); |