1/*-
2 * Copyright (c) 1983, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
--- 30 unchanged lines hidden (view full) ---
39
40#if 0
41#ifndef lint
42static char sccsid[] = "@(#)uuencode.c 8.2 (Berkeley) 4/2/94";
43#endif /* not lint */
44#endif
45
46#include <sys/cdefs.h>
47__FBSDID("$FreeBSD: head/usr.bin/uuencode/uuencode.c 96810 2002-05-17 12:27:02Z jmallett $");
48
49/*
50 * uuencode [input] output
51 *
52 * Encode a file so it can be mailed to a remote system.
53 */
54#include <sys/param.h>
55#include <sys/socket.h>
--- 22 unchanged lines hidden (view full) ---
78 struct stat sb;
79 int base64;
80 char ch;
81 char *outfile;
82
83 base64 = 0;
84 outfile = NULL;
85
86 while ((ch = getopt(argc, argv, "mo:")) != -1) {
87 switch (ch) {
88 case 'm':
89 base64 = 1;
90 break;
91 case 'o':
92 outfile = optarg;
93 break;
--- 128 unchanged lines hidden ---
2 * Copyright (c) 1983, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
--- 30 unchanged lines hidden (view full) ---
39
40#if 0
41#ifndef lint
42static char sccsid[] = "@(#)uuencode.c 8.2 (Berkeley) 4/2/94";
43#endif /* not lint */
44#endif
45
46#include <sys/cdefs.h>
47__FBSDID("$FreeBSD: head/usr.bin/uuencode/uuencode.c 96810 2002-05-17 12:27:02Z jmallett $");
48
49/*
50 * uuencode [input] output
51 *
52 * Encode a file so it can be mailed to a remote system.
53 */
54#include <sys/param.h>
55#include <sys/socket.h>
--- 22 unchanged lines hidden (view full) ---
78 struct stat sb;
79 int base64;
80 char ch;
81 char *outfile;
82
83 base64 = 0;
84 outfile = NULL;
85
86 while ((ch = getopt(argc, argv, "mo:")) != -1) {
87 switch (ch) {
88 case 'm':
89 base64 = 1;
90 break;
91 case 'o':
92 outfile = optarg;
93 break;
--- 128 unchanged lines hidden ---