Lines Matching refs:rval
68 int rval; in main() local
83 rval = 0; in main()
116 rval = lseek(tape, (off_t)strtoll(count, NULL, 10), atoi(pos)); in main()
117 if (rval < 0) in main()
133 rval = write(tape, record, n); in main()
134 if (rval < 0) in main()
143 rval = read(tape, record, n); in main()
144 if (rval < 0) in main()
146 (void)sprintf(resp, "A%d\n", rval); in main()
148 (void)write(STDOUT_FILENO, record, rval); in main()
160 rval = mtop.mt_count; in main()
169 rval = sizeof (mtget); in main()
170 if (rval > 24) /* original mtget structure size */ in main()
171 rval = 24; in main()
172 (void)sprintf(resp, "A%d\n", rval); in main()
174 (void)write(STDOUT_FILENO, (char *)&mtget, rval); in main()
181 rval = 2; in main()
189 DEBUG1("rmtd: A %d\n", rval); in main()
190 (void)sprintf(resp, "A%d\n", rval); in main()