XWare Поиск по информационным ресурсам МГУ English Russian
       
       Точная форма слов   О проекте   Сайты   Помощь
Поиск по:itpm.msu.su   - Поискать по всем серверам
На этой странице приведены все страницы сервера itpm.msu.su ,которые мы индексируем. Показаны документы 561 - 580 из 982.

В начало ] Пред. | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | След.В конец ]

Упорядочить по: URL  |  дате изменения
561. Kernel msg structure
Next: Kernel msqid_ds structure Up: Internal and User Data Previous: Message buffer . The kernel stores each message in the queue within the framework of the msg structure. ... one msg structure for each message */ struct msg { struct msg *msg_next; /* next message on queue */ long msg_type; char *msg_spot; /* message text address */ short msg_ts; /* message text size */ }; . msg_next . ... A pointer to the beginning of the message body. msg_ts . The length of the message text, or body. ...
[ Сохраненная копия ]  Ссылки http://itpm.msu.su/LDP/lpg-0.4/node31.html -- 3.3 Кб -- 18.04.1999
Похожие документы

562. Kernel msqid_ds structure
Next: Kernel ipc_perm structure Up: Internal and User Data Previous: Kernel msg structure . ... one msqid structure for each queue on the system */ struct msqid_ds { struct ipc_perm msg _perm; struct msg * msg _first; /* first message on queue */ struct msg * msg _ last ; /* last message in queue */ time_t msg _stime; /* last msgsnd time */ time_t msg _rtime; /* last msgrcv time */ time_t msg _ctime; /* last change time */ ... msg_perm . ...
[ Сохраненная копия ]  Ссылки http://itpm.msu.su/LDP/lpg-0.4/node32.html -- 5.9 Кб -- 18.04.1999
Похожие документы

563. Kernel ipc_perm structure
Next: SYSTEM CALL: msgget() Up: Internal and User Data Previous: Kernel msqid_ds structure . The kernel stores permission information for IPC objects in a structure of type ipc_perm . ... struct ipc_perm { key_t key; ushort uid; /* owner euid and egid */ ushort gid; ushort cuid; /* creator euid and egid */ ushort cgid; ushort mode; /* access modes see mode flags below */ ushort seq; /* slot usage sequence number */ }; . ... Finally, the slot usage sequence number is stored at the end. ...
[ Сохраненная копия ]  Ссылки http://itpm.msu.su/LDP/lpg-0.4/node33.html -- 3.7 Кб -- 18.04.1999
Похожие документы

564. SYSTEM CALL: msgget()
... In order to create a new message queue, or access an existing queue, the msgget() system call is used. SYSTEM CALL: msgget(); PROTOTYPE: int msgget ( key_t key, int msgflg ); RETURNS: message queue identifier on success -1 on error: errno = EACCESS (permission denied) EEXIST (Queue exists, cannot create) EIDRM (Queue is marked for deletion) ENOENT (Queue does not exist) ENOMEM (Not enough memory to create queue) ENOSPC (Maximum queue limit exceeded) NOTES: . ... IPC_CREAT . ...
[ Сохраненная копия ]  Ссылки http://itpm.msu.su/LDP/lpg-0.4/node34.html -- 4.9 Кб -- 18.04.1999
Похожие документы

565. SYSTEM CALL: msgsnd()
Next: SYSTEM CALL: msgctl() Up: 6.4.2 Message Queues Previous: SYSTEM CALL: msgget() . ... To deliver a message to a queue, you use the msgsnd system call: . ... The first argument to msgsnd is our queue identifier, returned by a previous call to msgget . ... The msgsz argument contains the size of the message in bytes, excluding the length of the message type (4 byte long). ... The fourth argument ( mtype ) specifies the type of message to retrieve from the queue. ...
[ Сохраненная копия ]  Ссылки http://itpm.msu.su/LDP/lpg-0.4/node35.html -- 11.3 Кб -- 18.04.1999
Похожие документы

566. SYSTEM CALL: msgctl()
Next: msgtool: An interactive message Up: 6.4.2 Message Queues Previous: SYSTEM CALL: msgsnd() . ... Now, we will turn the discussion to directly manipulating the internal structures associated with a given message queue. To perform control operations on a message queue, you use the msgctl() system call. ... Sets the value of the ipc_perm member of the msqid_ds structure for a queue. ... We retrieve a current copy of the internal data structure by a quick call to our get_queue_ds wrapper function. ...
[ Сохраненная копия ]  Ссылки http://itpm.msu.su/LDP/lpg-0.4/node36.html -- 9.9 Кб -- 18.04.1999
Похожие документы

567. msgtool: An interactive message queue manipulator
Next: Background Up: 6.4.2 Message Queues Previous: SYSTEM CALL: msgctl() . ... On the same note, having real world examples to accompany any technical information will speed up and reinforce the learning process. Until now, the only useful examples which have been presented were the wrapper functions for manipulating message queues. ... To remedy this, you will be presented with msgtool , an interactive command line utility for manipulating IPC message queues. ... Deleting a Queue . ...
[ Сохраненная копия ]  Ссылки http://itpm.msu.su/LDP/lpg-0.4/node37.html -- 4.1 Кб -- 18.04.1999
Похожие документы

568. Background
Next: Command Line Syntax Up: msgtool: An interactive message Previous: msgtool: An interactive message . The msgtool program relies on command line arguments to determine its behavior. ... Currently, it uses a character array for data, allowing you to send textual messages. Changing it to facilitate additional data types is left as an exercise to the reader. ... Fri Mar 29 14:43:04 EST 1996 ...
[ Сохраненная копия ]  Ссылки http://itpm.msu.su/LDP/lpg-0.4/node38.html -- 2.8 Кб -- 18.04.1999
Похожие документы

569. Command Line Syntax
. Next: Sending Messages Up: msgtool: An interactive message Previous: Background . Sending Messages . Retrieving Messages . Changing the Permissions (mode) . Deleting a Queue . Converted on: . Fri Mar 29 14:43:04 EST 1996
[ Сохраненная копия ]  Ссылки http://itpm.msu.su/LDP/lpg-0.4/node39.html -- 2.8 Кб -- 18.04.1999
Похожие документы

570. Sending Messages
. Next: Retrieving Messages Up: Command Line Syntax Previous: Command Line Syntax . msgtool s (type) "text" . Converted on: . Fri Mar 29 14:43:04 EST 1996
[ Сохраненная копия ]  Ссылки http://itpm.msu.su/LDP/lpg-0.4/node40.html -- 2.4 Кб -- 18.04.1999
Похожие документы

571. Retrieving Messages
. Next: Changing the Permissions (mode) Up: Command Line Syntax Previous: Sending Messages . msgtool r (type) . Converted on: . Fri Mar 29 14:43:04 EST 1996
[ Сохраненная копия ]  Ссылки http://itpm.msu.su/LDP/lpg-0.4/node41.html -- 2.4 Кб -- 18.04.1999
Похожие документы

572. Changing the Permissions (mode)
. Next: Deleting a Queue Up: Command Line Syntax Previous: Retrieving Messages . msgtool m (mode) . Converted on: . Fri Mar 29 14:43:04 EST 1996
[ Сохраненная копия ]  Ссылки http://itpm.msu.su/LDP/lpg-0.4/node42.html -- 2.4 Кб -- 18.04.1999
Похожие документы

573. IPC Identifiers
Next: IPC Keys Up: 6.4.1 Fundamental Concepts Previous: 6.4.1 Fundamental Concepts . Each IPC object has a unique IPC identifier associated with it. When we say ``IPC object'', we are speaking of a single message queue, semaphore set, or shared memory segment. ... While there can never be two message queues with this same identifier, there exists the distinct possibility of a message queue and, say, a shared memory segment, which have the same numeric identifier. ...
[ Сохраненная копия ]  Ссылки http://itpm.msu.su/LDP/lpg-0.4/node23.html -- 3.1 Кб -- 18.04.1999
Похожие документы

574. IPC Keys
... To obtain a unique ID, a key must be used. ... Often, the ftok() function is used to generate key values for both the client and the server. LIBRARY FUNCTION: ftok(); PROTOTYPE: key_t ftok ( char *pathname, char proj ); RETURNS: new IPC key value if successful -1 if unsuccessful, errno set to return of stat() call . ... This doesn't guarantee uniqueness, but an application can check for collisions and retry the key generation. key_t mykey; mykey = ftok("/tmp/myapp", 'a'); . ...
[ Сохраненная копия ]  Ссылки http://itpm.msu.su/LDP/lpg-0.4/node24.html -- 5.3 Кб -- 18.04.1999
Похожие документы

575. The ipcs Command
Next: The ipcrm Command Up: 6.4.1 Fundamental Concepts Previous: IPC Keys . The ipcs command can be used to obtain the status of all System V IPC objects. ... Shared Memory Segments -------- shmid owner perms bytes nattch status ------ Semaphore Arrays -------- semid owner perms nsems status ------ Message Queues -------- msqid owner perms used-bytes messages 0 root 660 5 1 . ... The ipcs command is a very powerful tool which provides a peek into the kernel's storage mechanisms for IPC objects. ...
[ Сохраненная копия ]  Ссылки http://itpm.msu.su/LDP/lpg-0.4/node25.html -- 3.5 Кб -- 18.04.1999
Похожие документы

576. The ipcrm Command
Next: 6.4.2 Message Queues Up: 6.4.1 Fundamental Concepts Previous: The ipcs Command . The ipcrm command can be used to remove an IPC object from the kernel. While IPC objects can be removed via system calls in user code (we'll see how in a moment), the need often arises, especially under development environments, to remove IPC objects manually. ... sem | ... Simply specify whether the object to be deleted is a message queue ( msg ), a semaphore set ( sem ), or a shared memory segment ( shm ). ...
[ Сохраненная копия ]  Ссылки http://itpm.msu.su/LDP/lpg-0.4/node26.html -- 3.1 Кб -- 18.04.1999
Похожие документы

577. Basic Concepts
. Next: Internal and User Data Up: 6.4.2 Message Queues Previous: 6.4.2 Message Queues . Message queues can be best described as an internal linked list within the kernel's addressing space. Messages can be sent to the queue in order and retrieved from the queue in several different ways. Each message queue (of course) is uniquely identified by an IPC identifier. Converted on: . Fri Mar 29 14:43:04 EST 1996
[ Сохраненная копия ]  Ссылки http://itpm.msu.su/LDP/lpg-0.4/node28.html -- 2.6 Кб -- 18.04.1999
Похожие документы

578. Internal and User Data Structures
Next: Message buffer Up: 6.4.2 Message Queues Previous: Basic Concepts . The key to fully understanding such complex topics as System V IPC is to become intimately familiar with the various internal data structures that reside within the confines of the kernel itself. Direct access to some of these structures is necessary for even the most primitive operations, while others reside at a much lower level. ... Kernel msg structure . Kernel msqid_ds structure . Kernel ipc_perm structure . ...
[ Сохраненная копия ]  Ссылки http://itpm.msu.su/LDP/lpg-0.4/node29.html -- 3.1 Кб -- 18.04.1999
Похожие документы

579. About this document ...
. Up: e Previous: 12 Abbreviations . The Linux Programmer's Guide . This document was generated using the LaTeX 2 HTML translator Version 96.1-c (Feb 29, 1996) Copyright © 1993, 1994, 1995, 1996, Nikos Drakos , Computer Based Learning Unit, University of Leeds. The command line arguments were: . latex2html lpg.tex . The translation was initiated by Andrew Anderson on Fri Mar 29 14:43:04 EST 1996 . Converted on: . Fri Mar 29 14:43:04 EST 1996
[ Сохраненная копия ]  Ссылки http://itpm.msu.su/LDP/lpg-0.4/node152.html -- 2.8 Кб -- 18.04.1999
Похожие документы

580. Output Options
Next: 8.8.1 Input Options Up: 8.8 Options Previous: 8.8 Options . int idlok(win, bf)   . void idcok(win, bf)   . Enable or disable terminal's insert/delete features for the window ( idlok(...) for lines and idcok(...) for characters). ... If set TRUE, every change to the window win will cause a refresh to the physical screen. ... int clearok(win, bf)   . ... The default behavior is for ncurses to leave the physical cursor in the same place it was on the last refresh of the window. ...
[ Сохраненная копия ]  Ссылки http://itpm.msu.su/LDP/lpg-0.4/node109.html -- 4.0 Кб -- 18.04.1999
Похожие документы

В начало ] Пред. | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | След.В конец ]

Rambler's Top100 RFBR Яндекс цитирования