2 * Copyright 2010 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file.
13 int main(int argc, char** argv) {
20 fprintf(stderr, "Usage: sel_ldr test_rewind.nexe "
21 "path/to/test_rewind_data\n");
24 file = fopen(argv[1], "r");
26 for (y = 0; y < 8; ++y) {
27 res = fread(buf, 1, BUF_SIZE, file);
30 res = strcmp(buf, "test");