选择文件名文件大小最后修改时间操作
[📄] 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
查看 fd.c - 文件管理器
👁 查看:fd.c
路径:/usr/local/fehQlibs-23/fd.c
大小:536 B · 修改:2018-08-02 08:07:47 · 权限:0644 · 只读
#include <fcntl.h>
#include "fd.h"

/**
	@file fd.c
	@autor djb
	@source qmail
	@brief file descriptor manipulation
*/

int close(int __fd);  /* we won't use unistd.h here */

int fd_copy(int to,int from)
{
  if (to == from) return 0;
  if (fcntl(from,F_GETFL,0) == -1) return -1;
  close(to);
  if (fcntl(from,F_DUPFD,to) == -1) return -1;
  return 0;
}

int fd_move(int to,int from)
{
  if (to == from) return 0;
  if (fd_copy(to,from) == -1) return -1;
  close(from);
  return 0;
}

int fd_coe(int fd) {return fcntl(fd,F_SETFD,1); }
404 NOT FOUND | 人工芝販売・施工【大阪・近畿】人工芝エメラルド

404 NOT FOUND

404 Not Found

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