static int sendfile(char **, char *);
static int refile(char **, char *);
static int removefile(char *);
static int sendfile(char **, char *);
static int refile(char **, char *);
static int removefile(char *);
char *cp;
char *ed = NULL, *drft = NULL;
char buf[BUFSIZ], prompt[BUFSIZ];
char *cp;
char *ed = NULL, *drft = NULL;
char buf[BUFSIZ], prompt[BUFSIZ];
case HELPSW:
snprintf(buf, sizeof(buf),
"%s [switches] [file]",
invo_name);
print_help(buf, switches, 1);
case HELPSW:
snprintf(buf, sizeof(buf),
"%s [switches] [file]",
invo_name);
print_help(buf, switches, 1);
}
}
snprintf(prompt, sizeof(prompt), myprompt, invo_name);
}
}
snprintf(prompt, sizeof(prompt), myprompt, invo_name);
switch (smatch(*argp, aleqs)) {
case DISPSW:
/* display the msg being replied to or distributed */
switch (smatch(*argp, aleqs)) {
case DISPSW:
/* display the msg being replied to or distributed */
if (stat(drft, &st) != NOTOK) {
advise(NULL, "draft left on %s", drft);
}
if (stat(drft, &st) != NOTOK) {
advise(NULL, "draft left on %s", drft);
}
default:
if ((status = pidwait(pid, NOTOK))) {
if ((status & 0xff00) == 0xff00) {
/* cmd not found or pidwait() failed */
default:
if ((status = pidwait(pid, NOTOK))) {
if ((status & 0xff00) == 0xff00) {
/* cmd not found or pidwait() failed */