Home
last modified time | relevance | path

Searched refs:logname (Results 1 – 22 of 22) sorted by relevance

/dragonfly/lib/libc/gen/
H A Dgetlogin.c57 static char logname[MAXLOGNAME]; in getlogin_basic() local
60 if (_getlogin(logname, sizeof(logname)) < 0) { in getlogin_basic()
67 return (*logname ? logname : NULL); in getlogin_basic()
83 getlogin_r(char *logname, size_t namelen) in getlogin_r() argument
95 strncpy(logname, result, len); in getlogin_r()
/dragonfly/usr.sbin/lpr/common_source/
H A Drequest.c61 if (rp->logname) in free_request()
62 free(rp->logname); in free_request()
H A Dlp.h136 char *logname; /* login name of requesting user */ member
/dragonfly/usr.sbin/lpr/lpd/
H A Dprintjob.c103 static char logname[32]; /* user's login name */ variable
314 if (logname[0]) in printjob()
315 sendmail(pp, logname, FATALERR); in printjob()
437 strlcpy(logname, line + 1, sizeof(logname)); in printit()
439 if (getpwnam(logname) == NULL) { in printit()
536 sendmail(pp, logname, bombed); in printit()
763 av[n++] = logname; in print()
913 strlcpy(logname, line + 1, sizeof(logname)); in sendit()
915 if (getpwnam(logname) == NULL) { in sendit()
940 sendmail(pp, logname, ACCESS); in sendit()
[all …]
/dragonfly/games/larn/
H A Dtok.c174 strcpy(logname, loginname); in readopts()
228 strcpy(logname, i); in readopts()
258 strcpy(logname, loginname); in readopts()
H A Ddata.c129 char logname[LOGNAMESIZE]; /* players name storage for scoring */ variable
H A Dscores.c604 newscore(c[GOLD], logname, x, win); in died()
680 lprintf("Score: %d, Diff: %d, %s ", (long)c[GOLD], (long)c[HARDGAME], logname); in diedsub()
H A Dmain.c100 strcpy(logname, ptr); /* this will be overwritten with the players name */ in main()
220 userid = getplid(logname); /* obtain the players id number */ in main()
H A Dobject.c1271 lprintf("Welcome home %s. Latest word from the doctor is not good.\n", logname); in ohome()
1282 lprintf("%s, to find the only hope for your daughter, the very rare\n", logname); in ohome()
H A Dheader.h336 extern char level, *levelname[], logfile[], loginname[], logname[], *lpbuf, *lpend;
/dragonfly/contrib/lvm2/dist/lib/mirror/
H A Dmirrored.c94 char *logname = NULL; in _mirrored_text_import() local
123 logname = cn->v->v.str; in _mirrored_text_import()
124 if (!(seg->log_lv = find_lv(seg->lv->vg, logname))) { in _mirrored_text_import()
133 if (logname && !seg->region_size) { in _mirrored_text_import()
/dragonfly/usr.bin/logname/
H A DMakefile4 PROG= logname
/dragonfly/bin/ps/
H A Dextern.h53 void logname(const KINFO *, const struct varent *);
H A Dkeyword.c110 {"login", "LOGIN", NULL, LJUST, logname, NULL, MAXLOGNAME-1, 0, 0, NULL,
H A Dprint.c204 logname(const KINFO *k, const struct varent *vent) in logname() function
/dragonfly/crypto/openssh/
H A Dsshlogin.c76 get_last_login_time(uid_t uid, const char *logname, in get_last_login_time() argument
/dragonfly/lib/libfetch/
H A Dftp.c907 const char *user, *pwd, *logname; in ftp_authenticate() local
936 if ((logname = getlogin()) == NULL) in ftp_authenticate()
937 logname = FTP_ANONYMOUS_USER; in ftp_authenticate()
938 if ((len = snprintf(pbuf, MAXLOGNAME + 1, "%s@", logname)) < 0) in ftp_authenticate()
/dragonfly/usr.bin/
H A DMakefile114 logname \
/dragonfly/usr.bin/crunch/examples/
H A Dreally-big.conf46 progs login logname look m4 machine mail make man mesg mkfifo
/dragonfly/contrib/binutils-2.34/gold/
H A Dplugin.cc531 std::string logname(tempdir); in init() local
532 logname.append("/log"); in init()
533 FILE* logfile = ::fopen(logname.c_str(), "w"); in init()
/dragonfly/usr.sbin/newsyslog/
H A Dnewsyslog.c306 static int log_trim(const char *logname, const struct conf_entry *log_ent);
2322 log_trim(const char *logname, const struct conf_entry *log_ent) in log_trim() argument
2327 if ((f = fopen(logname, "a")) == NULL) in log_trim()
/dragonfly/usr.sbin/ppp/
H A Dppp.8.m43219 .Ar logname Ns No ...