?? ss_strm.h
字號:
/********************************************************************20**
Name: System Services -- STREAMS
Type: C include file
Desc: Various macro definitions required for STREAMS.
File: ss_strm.h
Sid: ss_strm.h 1.2 - 08/11/98 10:47:22
Prg: kp
*********************************************************************21*/
#ifndef __SSSTRMH__
#define __SSSTRMH__
#ifdef __cplusplus
extern "C" {
#endif
/* STREAMS message types */
#define SS_M_DATA 0
#define SS_M_PROTO 1
#define SS_M_BREAK 2
#define SS_M_CTL 3
#define SS_M_DELAY 4
#define SS_M_IOCTL 5
#define SS_M_PASSFP 6
#define SS_M_RSE 7
#define SS_M_SETOPTS 8
#define SS_M_SIG 9
/* message initialization macro */
#define SS_STRM_INITB(mp, dp, dat, size, frtn) \
(mp)->b_next = NULLP; \
(mp)->b_prev = NULLP; \
(mp)->b_cont = NULLP; \
(mp)->b_rptr = (dat); \
(mp)->b_wptr = (dat); \
(mp)->b_datap = (dp); \
(dp)->db_frtnp = (frtn); \
(dp)->db_base = (dat); \
(dp)->db_lim = (dat) == NULLP ? (dat) : ((dat) + (size)); \
ssLockTsk(); \
(dp)->db_ref = 1; \
ssUnlockTsk(); \
(dp)->db_type = SS_M_DATA;
#ifdef __cplusplus
}
#endif
#endif /* __SSSTRMH__ */
/********************************************************************30**
End of file: ss_strm.h 1.2 - 08/11/98 10:47:22
*********************************************************************31*/
/********************************************************************40**
Notes:
*********************************************************************41*/
/********************************************************************50**
*********************************************************************51*/
/********************************************************************60**
Revision history:
*********************************************************************61*/
/********************************************************************90**
ver pat init description
------------ -------- ---- ----------------------------------------------
1.1 --- kp 1. initial release
1.2 --- kp 1. C++ compilable, cosmetic changes
*********************************************************************91*/
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -