version 1.5, 2003/06/03 02:56:21 |
version 1.6, 2003/06/10 22:20:53 |
|
|
#include <sys/stat.h> |
#include <sys/stat.h> |
#include <unistd.h> |
#include <unistd.h> |
|
|
static void encode(); |
static void encode(void); |
static __dead void usage(); |
static __dead void usage(void); |
|
|
int |
int |
main(argc, argv) |
main(int argc, char *argv[]) |
int argc; |
|
char *argv[]; |
|
{ |
{ |
struct stat sb; |
struct stat sb; |
int mode; |
int mode; |
|
|
* copy from in to out, encoding as you go along. |
* copy from in to out, encoding as you go along. |
*/ |
*/ |
static void |
static void |
encode() |
encode(void) |
{ |
{ |
int ch, n; |
int ch, n; |
char *p; |
char *p; |
|
|
} |
} |
|
|
static void |
static void |
usage() |
usage(void) |
{ |
{ |
(void)fprintf(stderr,"usage: uuencode [infile] remotefile\n"); |
(void)fprintf(stderr,"usage: uuencode [infile] remotefile\n"); |
exit(1); |
exit(1); |