2 * Copyright 2002, Marcus Overhagen. All rights reserved.
3 * Distributed under the terms of the MIT License.
10 int main(int argc
, char *argv
[])
15 fprintf(stderr
, "You need to specify a filename on the command line.\n");
18 if (B_OK
!= file
.SetTo(argv
[1], O_RDONLY
)) {
19 fprintf(stderr
, "File \"%s\" not found.\n", argv
[1]);
22 if (B_OK
!= msg
.Unflatten(&file
)) {
23 fprintf(stderr
, "Unflatten failed.\n");