put(9f) 맨 페이지 - 윈디하나의 솔라나라
|
svcadm(8)
을 검색하려면 섹션에서
8
을 선택하고, 맨 페이지 이름에
svcadm
을 입력하고 검색을 누른다.put(9F) Kernel Functions put(9F) NAME put - call a STREAMS put procedure SYNOPSIS #include <sys/stream.h> #include <sys/ddi.h> void put(queue_t *q, mblk_t *mp); INTERFACE LEVEL Architecture independent level 1 (DDI/DKI). PARAMETERS q Pointer to a STREAMS queue. mp Pointer to message block being passed into queue. DESCRIPTION put() calls the put procedure (put(9E) entry point) for the STREAMS queue specified by q, passing it the message block referred to by mp. It is typically used by a driver or module to call its own put proce‐ dure. CONTEXT put() can be called from a STREAMS module or driver put or service rou‐ tine, or from an associated interrupt handler, timeout, bufcall, or esballoc call-back. In the latter cases, the calling code must guaran‐ tee the validity of the q argument. Since put() may cause re-entry of the module (as it is intended to do), mutexes or other locks should not be held across calls to it, due to the risk of single-party deadlock (put(9E), putnext(9F), putctl(9F), qreply(9F)). This function is provided as a DDI/DKI conforming replace‐ ment for a direct call to a put procedure. SEE ALSO put(9E), freezestr(9F), putctl(9F), putctl1(9F), putnext(9F), put‐ nextctl(9F), putnextctl1(9F), qprocson(9F), qreply(9F) Writing Device Drivers in Oracle Solaris 11.4 STREAMS Programming Guide NOTES The caller cannot have the stream frozen when calling this function. See freezestr(9F). DDI/DKI conforming modules and drivers are no longer permitted to call put procedures directly, but must call through the appropriate STREAMS utility function, for example, put(9E), putnext(9F), putctl(9F), and qreply(9F). This function is provided as a DDI/DKI conforming replace‐ ment for a direct call to a put procedure. The put() and putnext() functions should be called only after qproc‐ son() is finished. Oracle Solaris 11.4 16 Jul 2012 put(9F)맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3 |
Copyright © 2004-2025 Jo HoSeok. All rights reserved. |