version 1.1, 1996/08/26 07:47:06 |
version 1.2, 1998/09/26 19:54:43 |
|
|
.Nd convert file to c-source. |
.Nd convert file to c-source. |
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm file2c |
.Nm file2c |
.Op "string" |
.Op Ar string |
.Op "string" |
.Op Ar string |
.Sh DESCRIPTION |
.Sh DESCRIPTION |
The |
The |
.Nm file2c |
.Nm file2c |
|
|
.Pp |
.Pp |
If the first |
If the first |
.Op string |
.Op string |
is present, it is printed before the data, if the second |
is present, it is printed before the data. If the second |
.Op string |
.Op string |
is present, it is printed after the data. |
is present, it is printed after the data. |
.Pp |
.Pp |
This program is used to embedd binary or other files into C source files, |
This program is used to embed binary or other files into C source files, |
for instance as a char[]. |
for instance as a char[]. |
.Sh EXAMPLE |
.Sh EXAMPLE |
The command: |
The command: |