/*
============================================================================
Name : test.c
Author : blank
Version :
Copyright : Your copyright notice
Description : 程序3-1 测试标准输入能否被设置位移量
============================================================================
*/
#include <stdio.h>
#include <stdlib.h>
#include "ourhdr.h"
int main(int argc, char *argv[]) {
if (lseek(STDIN_FILENO, 0, SEEK_CUR) == -1){
printf("cannot seek
");
}
else{
printf("can OK
");
}
exit(0);
}