fseek
ret = (long)fseek(fp, num, 0);
if (fseek(f, -1L, SEEK_END) == 0 && fgetc(f) != '\n')
if (fseek(f, 0L, SEEK_END) != 0 || (addnl && fputc('\n', f) != '\n')) {
if (fseek(f, 0, SEEK_SET) != 0) {
return (fseek(fp, offset, ptrname));
fseek(inf, pos, SEEK_SET);
fseek(Monstfp, (long)which * (long)SZ_MONSTERSTRUCT, SEEK_SET);
fseek(Monstfp, (long)which * (long)SZ_MONSTERSTRUCT, SEEK_SET);
fseek(Monstfp, 0L, SEEK_SET);
fseek(Playersfp, 0L, SEEK_SET);
fseek(Playersfp, loc, SEEK_SET);
fseek(fp, loc, SEEK_SET);
fseek(Playersfp, 0L, SEEK_SET);
fseek(Energyvoidfp, 0L, SEEK_SET);
fseek(Playersfp, 0L, SEEK_SET);
fseek(Playersfp, 0L, SEEK_SET);
fseek(Playersfp, 0L, SEEK_SET);
fseek(Energyvoidfp, 0L, SEEK_SET);
fseek(fp, 0L, SEEK_SET);
fseek(Energyvoidfp, 0L, SEEK_SET);
fseek(Energyvoidfp, loc, SEEK_SET);
fseek(Energyvoidfp, 0L, SEEK_SET);
fseek(Energyvoidfp, 0L, SEEK_SET);
fseek(Playersfp, 0L, SEEK_SET);
fseek(Playersfp, 0L, SEEK_SET);
fseek(Playersfp, 0L, SEEK_SET);
fseek(Playersfp, 0L, SEEK_SET);
fseek(Messagefp, 0L, SEEK_SET);
fseek(fp, 0L, SEEK_SET);
fseek(Playersfp, 0L, SEEK_SET);
fseek(Playersfp, 0L, SEEK_SET);
fseek(Monstfp, 13L * SZ_MONSTERSTRUCT, SEEK_SET);
fseek(Monstfp, 13L * SZ_MONSTERSTRUCT, SEEK_SET);
fseek(Playersfp, place, SEEK_SET);
fseek(Playersfp, loc, SEEK_SET);
fseek(sync_fp, sync_seek, SEEK_SET);
fseek(sync_fp, 0L, SEEK_END);
if (fseek(sf, 0L, SEEK_SET) == -1)
int fseek(FILE *, long, int);
return ((fseek((FILE *)xdrs->x_private, (long)pos, 0) < 0) ?
if (fseek(evtr->f, 0, SEEK_SET)) {
if (fseek(evtr->f, bytes, SEEK_CUR)) {
if (fseek(evtr->f, skip, SEEK_CUR)) {
(void)fseek(fp[i], (long)-nchar, SEEK_CUR);
(void)fseek(fp[2], (long)de[n].new.from, SEEK_SET);
if (fseek(it->mailf, 0, SEEK_SET) != 0) {
if (fseek(it->mailf, 0, SEEK_SET) != 0)
if (fseek(it->mailf, 0, SEEK_SET) != 0) {
if (fseek(df, 0L, 0) < 0)
fseek(fp, 0L, 2);
if (fseek(qfo, (long)offset, SEEK_SET) < 0) {
fseek(fp, 0L, 2);
fseek(fp, 0L, 0);
fseek(ftemplate, forchan, SEEK_SET);
fseek(ftemplate, forpdgain, SEEK_SET);
fseek(ftemplate, forpcdac, SEEK_SET);
fseek(ftemplate, forctl, SEEK_SET);
fseek(file, 0, SEEK_END);
fseek(file, 0, SEEK_SET);
if (fseek(fp, 0L, SEEK_END) == -1 || ftell(fp) == 0) {
fseek(inf, lineftell, L_SET);
fseek(inf, saveftell, L_SET);
fseek(lb, f[i - 1], SEEK_SET);
fseek(fp, f[pos - 1], SEEK_SET);
fseek(fp, 0, SEEK_END);
fseek(fp, -2, SEEK_END);
fseek(fp, (long)0, SEEK_SET) == -1)
fseek(mesgread, (long) hp->hpt, 0);
fseek(msgsrc, 0L, 0);
fseek(msgsrc, 0L, 0);
fseek(msgsrc, 0L, 0);
fseek(newmsg, 0L, 2);
fseek(f, oldpos, 0);
fseek(newmsg, oldpos, 0);
fseek(newmsg, oldpos, 0); /* reposition current message */
fseek(infile, 0L, 0);
fseek(infile, frompos, 0);
fseek(ifp, 0L, SEEK_SET); /* rewind file */
fseek(outf, (long)sizeof(Tbl), SEEK_SET);
fseek(file, -1, 1); /* smash lf on top of the cr */
fseek(mesgwrit, hp->hpt, 0);
fseek(f, filepos, 0);
error = fseek(fp, off, SEEK_SET);
if (fseek(fp, io_base, SEEK_SET) == -1) {
if (fseek(fp, 0, SEEK_END) == -1) {
fseek(fconfig, 0L, SEEK_SET);
fseek(cfp, 0L, 0);
fseek(cfp, 0L, 0);
fseek(fd, 32 - strlen(part_name) - 1, SEEK_CUR);
fseek(fd, 32 - strlen(part_type) - 1, SEEK_CUR);
fseek(fd, 0x1fe, SEEK_SET);
fseek(fd, 0, SEEK_SET);
fseek(fp, 0L, SEEK_SET);
fseek(fp, ph.caplen, SEEK_CUR);