📄 lseek.c
字号:
/*-----------------------------------------------------------------------------
// $Date: 2002/09/16 21:19:30 $
// $RCSfile: lseek.c,v $
//-----------------------------------------------------------------------------
//
// $xilinx_legal_disclaimer
//
//---------------------------------------------------------------------------*/
#include <sys/types.h>
#include <errno.h>
/*
* lseek -- Since a serial port is non-seekable, we return an error.
*/
off_t lseek(int fd, off_t offset, int whence)
{
errno = ESPIPE;
return ((off_t)-1);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -