dot_lock
int dot_lock(const char *, int, FILE *, const char *);
if (dot_lock(mailname, 1, stdout, ".") == -1)