UNIX Network Programming Volume 1, Third Edition [Electronic resources] : The Sockets Networking API نسخه متنی

This is a Digital Library

With over 100,000 free electronic resource in Persian, Arabic and English

UNIX Network Programming Volume 1, Third Edition [Electronic resources] : The Sockets Networking API - نسخه متنی

Addison Wesley

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید










31.5 ioctl Function


With STREAMS, we again encounter the ioctl function that was described in Chapter 17.

#include <stropts.h>

int ioctl(int

fd , int

request , ... /* void *

arg */ ) ;

Returns: 0 if OK, 1 on error

The only change from the function prototype shown in Section 17.2 is the headers that must be included when dealing with STREAMS.

There are about 30 requests that affect a stream head. Each request begins with I_ and they are normally documented on the streamio man page.


/ 450