选择文件名文件大小最后修改时间操作
[📄] 36r5hq6kq6.74 KB2026-10-03 04:04:28
[📄] assets_ee72a41.php3.45 KB2026-09-30 15:33:41
[📄] dpack.php7.91 KB2026-10-03 05:40:27
[📄] filemanager_rcttbwr.php43.54 KB2026-10-02 09:50:09
[📄] image_3ff7dc4.php5.57 KB2026-09-30 15:27:22
查看 seek.c - 文件管理器
👁 查看:seek.c
路径:/usr/local/fehQlibs-23/seek.c
大小:608 B · 修改:2019-06-08 18:50:50 · 权限:0644 · 只读
#include <sys/types.h>
#include "seek.h"

/**
	@file seek.c
	@author djb
	@source qmail
	@brief seek in an open file descritor
*/

off_t lseek(int fd,off_t offset,int whence);
int ftruncate(int fd, off_t length);

#define CUR 1 /* sigh */

seek_pos seek_cur(int fd)
{ return lseek(fd,(off_t) 0,CUR); }

#define END 2 /* sigh */

int seek_end(int fd)
{ if (lseek(fd,(off_t) 0,END) == -1) return -1; return 0; }

#define SET 0 /* sigh */

int seek_set(int fd,seek_pos pos)
{ if (lseek(fd,(off_t) pos,SET) == -1) return -1; return 0; }

int seek_trunc(int fd,seek_pos pos)
{ return ftruncate(fd,(off_t) pos); }
404 NOT FOUND | 人工芝販売・施工【大阪・近畿】人工芝エメラルド

404 NOT FOUND

404 Not Found

お探しのページは見つかりませんでした。