Redis-0x11-库函数fcntl

1
2
3
4
5
6
7
8
9
SYNOPSIS
#include <fcntl.h>

int
fcntl(int fildes, int cmd, ...);

DESCRIPTION
fcntl() provides for control over descriptors. The argument fildes is a descriptor to be operated on by cmd as follows:

  • F_GETFL 获取描述符(socket描述符)的状态标志

  • F_SETFL 设置描述符(socket描述符)的状态标志


Redis-0x11-库函数fcntl
https://bannirui.github.io/2024/04/15/Redis/Redis-0x11-库函数fcntl/
作者
dingrui
发布于
2024年4月15日
许可协议