359 |
/* FIXME: set cmd to "mail [add1...]" */ |
/* FIXME: set cmd to "mail [add1...]" */ |
360 |
char *buf = NULL; |
char *buf = NULL; |
361 |
int num = 0; |
int num = 0; |
362 |
|
int rc; |
363 |
if (args.args != NULL) |
if (args.args != NULL) |
364 |
while (args.args[num] != NULL) |
while (args.args[num] != NULL) |
365 |
num++; |
num++; |
366 |
argcv_string (num, args.args, &buf); |
argcv_string (num, args.args, &buf); |
367 |
return util_do_command ("mail %s", buf); |
rc = util_do_command ("mail %s", buf); |
368 |
|
return util_getenv (NULL, "mailx", Mail_env_boolean, 0) ? rc : 0; |
369 |
} |
} |
370 |
/* Or acting as a normal reader */ |
/* Or acting as a normal reader */ |
371 |
else |
else |