cvs: phpdoc /kr/functions shmop.xml
| From: | Joong-yeon Choi | Date: | Wed, 24 Jan 2001 04:06:34 +0000 |
| Subject: | cvs: phpdoc /kr/functions shmop.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969333885@lists.php.net to get a copy of this message | ||
pcraft Tue Jan 23 20:06:34 2001 EDT
Modified files:
/phpdoc/kr/functions shmop.xml
Log:
Index: phpdoc/kr/functions/shmop.xml diff -u phpdoc/kr/functions/shmop.xml:1.2 phpdoc/kr/functions/shmop.xml:1.3 --- phpdoc/kr/functions/shmop.xml:1.2 Fri Jan 12 06:16:40 2001 +++ phpdoc/kr/functions/shmop.xml Tue Jan 23 20:06:34 2001 @@ -1,26 +1,25 @@ - <reference id="ref.shmop"> - <title>Shared Memory Functions</title> + <reference id="ref.shmop"> + <title>ê³µì ë©ëª¨ë¦¬ í¨ì</title> <titleabbrev>shmop</titleabbrev> <partintro> <para> - Shmop is an easy to use set of functions that allows php to read, - write, create and delete UNIX shared memory segments. The functions - will not work on windows, as it does not support shared memory. To - use shmop you will need to compile php with the --enable-shmop parameter - in your configure line. + Shmopë Unix ê³µì ë©ëª¨ë¦¬ ì¸ê·¸ë¨¼í¸ë¥¼ phpìì ì½ê³ , 기ë¡íê³ , + ìì±íê³ , ìì í기 ì½ëë¡ íë í¨ì 모ìì´ë¤. + ì´ í¨ìë ìëì°ì¦ììë ê³µì ë©ëª¨ë¦¬ë¥¼ ì§ìíì§ ì기 ë문ì ëìíì§ ìëë¤. + shmop를 ì¬ì©í기 ìí´ìë --enable-shmop ì¸ìë¡ php를 ì»´íì¼í´ì¼íë¤. </para> <note> <simpara> - The functions explained in the chapter begin all with - <function>shm_</function> in PHP 4.0.3, but in PHP 4.0.4 and later - versions these names are changed to begin with - <function>shmop_</function>. + ì´ë² ì¥ììë PHP 4.0.3ì <function>shm_</function> ë¨ì´ë¡ + ììëë í¨ì를 ì¤ëª í ê²ì´ë¤. + ê·¸ë¬ë PHP 4.0.4 ì´í ë²ì ì ê²½ì° <function>shmop_</function>ë¡ + ì´ë¦ë§ ë°ëìë¤. </simpara> </note> <para> <example> - <title>Shared Memory Operations Overview</title> + <title>ê³µì ë©ëª¨ë¦¬ ìëì ê°ê´</title> <programlisting role="php"> <?php @@ -62,7 +61,7 @@ <refentry id="function.shmop_open"> <refnamediv> <refname>shmop_open</refname> - <refpurpose>Create or open shared memory block</refpurpose> + <refpurpose>ê³µì ë©ëª¨ë¦¬ ë¸ëì ì´ê±°ë ìì±</refpurpose> </refnamediv> <refsect1> <title>Description</title> @@ -76,36 +75,35 @@ </funcprototype> </funcsynopsis> <para> - <function>shmop_open</function> can create or open a shared memory block. + <function>shmop_open</function>ì ê³µì ë©ëª¨ë¦¬ ë¸ëì ìì±íê±°ë ì¬ëë° ì°ì¸ë¤. </para> <para> - <function>shmop_open</function> takes 4 parameters: key, which is the - system's id for the shared memory block, this parameter can be passed - as a decimal or hex. The second parameter are the flags that you can use: + <function>shmop_open</function>ì 4ê°ì§ ì¸ìê° ì°ì¸ë¤: + 첫ë²ì§¸ ì¸ìì¸ ê³µì ë©ëª¨ë¦¬ ë¸ëì ìì¤í ì id를 ìí key. ì´ ì¸ìë 10ì§ì ëë 16ì§ìë¡ ì§ì ëë¤. + ëë²ì§¸ ì¸ìë flagsë¡ ë¤ìê³¼ ê°ì´ ì°ì¸ë¤: <itemizedlist> <listitem> <simpara> - "a" for access (sets IPC_EXCL) - use this flag when you need to open an existing shared memory segment + "a" : ì ê·¼ (IPC_EXCL ììë¡ ì¤ì ) + ì¡´ì¬íê³ ìë ê³µì ë©ëª¨ë¦¬ ì¸ê·¸ë¨¼í¸ë¥¼ ì¬ëë° ì´ flag를 ì¬ì©. </simpara> </listitem> <listitem> <simpara> - "c" for create (sets IPC_CREATE) - use this flag when you need to create a new shared memory segment. + "c" : ìì± (IPC_CREATE ììë¡ ì¤ì ) + ìë¡ì´ ê³µì ë©ëª¨ë¦¬ ì¸ê·¸ë¨¼í¸ë¥¼ ìì±íë ¤í ë ì´ flag를 ì¬ì©. </simpara> </listitem> </itemizedlist> - The third parameter is the mode, which are the permissions that you - wish to assign to your memory segment, those are the same as permission - for a file. Permissions need to be passed in octal form ex. 0644. - The last parameter is size of the shared memory block you wish to create - in bytes. + ì¸ë²ì§¸ ì¸ìë ë©ëª¨ë¦¬ ì¸ê·¸ì»¨í¸ë¥¼ í ë¹í기를 ìíë + íì¼ì í¼ë¯¸ì ê³¼ ëì¼í ë°©ìì í¼ë¯¸ì 모ëì´ë¤. + í¼ë¯¸ì ì 0644ì ê°ì´ 8ì§ìë¡ ì§ì ëì´ì¼ íë¤. + ë§ì§ë§ ì¸ìë ë°ì´í¸ ë¨ìì ìì±í ê³µì ë©ëª¨ë¦¬ ë¸ë í¬ê¸°ì´ë¤. <note><simpara> - Note: the 3rd and 4th should be entered as 0 if you are opening an - existing memory segment. On success <function>shmop_open</function> will - return an id that you can use to access the shared memory segment - you've created. + 주ì: ì¸ë²ì§¸ì ë¤ë²ì§¸ ì¸ìë ì¡´ì¬íê³ ìë + ë©ëª¨ë¦¬ ì¸ê·¸ë¨¼í¸ë¥¼ ì´ëë 0ì ì§ì í´ì¼ë§ íë¤. + <function>shmop_open</function>í¨ìê° ì±ê³µíë©´ + ìì±ë ê³µì ë©ëª¨ë¦¬ ì¸ê·¸ë¨¼í¸ë¥¼ ì ê·¼í기 ìí´ ì¬ì©ë id를 ë°íí ê²ì´ë¤. </simpara></note> </para> <para> @@ -119,7 +117,7 @@ </example> </para> <para> - This example opened a shared memory block with a system id of 0x0fff. + ìì ìì ë ìì¤í id 0x0fff를 ê°ì§ ê³µì ë©ëª¨ë¦¬ ë¸ëì ì´ëë¡ íë¤. </para> </refsect1> </refentry> @@ -127,10 +125,10 @@ <refentry id="function.shmop_read"> <refnamediv> <refname>shmop_read</refname> - <refpurpose>Read data from shared memory block</refpurpose> + <refpurpose>ê³µì ë©ëª¨ë¦¬ ë¸ëì¼ë¡ë¶í° ë°ì´í°ë¥¼ íë </refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>ì¤ëª </title> <funcsynopsis> <funcprototype> <funcdef>string <function>shmop_read</function></funcdef> @@ -140,16 +138,16 @@ </funcprototype> </funcsynopsis> <para> - <function>shmop_read</function> will read a string from shared memory block. + <function>shmop_read</function>í¨ìë ê³µì ë©ëª¨ë¦¬ ë¸ëì¼ë¡ë¶í° 문ìì´ì ì½ëë¤. </para> <para> - <function>shmop_read</function> takes 3 parameters: shmid, which is the shared - memory block identifier created by <function>shmop_open</function>, offset from - which to start reading and count on the number of bytes to read. + <function>shmop_read</function>í¨ìë 3ê°ì ì¸ì를 ê°ì§ë¤: + <function>shmop_open</function>ì ìí´ ìì±ë ê³µì ë©ëª¨ë¦¬ ë¸ë identifierì¸ shmid, + ì½ê¸° ììí offset, ì½ì´ë¼ ë°ì´í¸ ì를 ëíë´ë count. </para> <para> <example> - <title>Reading shared memory block</title> + <title>ê³µì ë©ëª¨ë¦¬ ë¸ë íë </title> <programlisting role="php"> <?php $shm_data = shmop_read($shm_id, 0, 50); @@ -158,8 +156,7 @@ </example> </para> <para> - This example will read 50 bytes from shared memory block and place the data - inside <literal>$shm_data</literal>. + ìì ìì ë ê³µì ë©ëª¨ë¦¬ ë¸ëìì 50 ë°ì´í¸ë¥¼ ì½ì´ <literal>$shm_data</literal> ë³ìì 기ë¡í ê²ì´ë¤. </para> </refsect1> </refentry> @@ -167,10 +164,10 @@ <refentry id="function.shmop_write"> <refnamediv> <refname>shmop_write</refname> - <refpurpose>Write data into shared memory block</refpurpose> + <refpurpose>ê³µì ë©ëª¨ë¦¬ ë¸ëì ìë£ ê¸°ë¡</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>ì¤ëª </title> <funcsynopsis> <funcprototype> <funcdef>int <function>shmop_write</function></funcdef> @@ -180,17 +177,17 @@ </funcprototype> </funcsynopsis> <para> - <function>shmop_write</function> will write a string into shared memory block. + <function>shmop_write</function>í¨ìë ê³µì ë©ëª¨ë¦¬ ë¸ëì¼ë¡ 문ìì´ì 기ë¡í ê²ì´ë¤. </para> <para> - <function>shmop_write</function> takes 3 parameters: shmid, which is the - shared memory block identifier created by <function>shmop_open</function>, - data, a string that you want to write into shared memory block and offset, - which specifies where to start writing data inside the shared memory segment. + <function>shmop_write</function>í¨ìë 3ê°ì ì¸ì를 ê°ì§ë¤: + <function>shmop_open</function>ì ìí´ ìì±ë ê³µì ë©ëª¨ë¦¬ ë¸ë identifierì¸ shmid, + ê³µì ë©ëª¨ë¦¬ ë¸ëì 기ë¡í기를 ìíë 문ìì´ì¸ data, ê³µì ë©ëª¨ë¦¬ ì¸ê·¸ë¨¼í¸ ë´ë¶ì 기ë¡ì ììí + ë°ì´í°ì ìì¹ë¥¼ ì§ì í offset. </para> <para> <example> - <title>Writing to shared memory block</title> + <title>ê³µì ë©ëª¨ë¦¬ ë¸ëì¼ë¡ 기ë¡</title> <programlisting role="php"> <?php $shm_bytes_written = shmop_write($shm_id, $my_string, 0); @@ -199,9 +196,8 @@ </example> </para> <para> - This example will write data inside <literal>$my_string</literal> into - shared memory block, <literal>$shm_bytes_written</literal> will contain - the number of bytes written. + ìì ìì ë <literal>$my_string</literal>ì ê³µì ë©ëª¨ë¦¬ ë¸ëì 기ë¡íê³ , + 기ë¡ë ë°ì´í¸ ì를 <literal>$shm_bytes_written</literal>ì ë°ííë¤. </para> </refsect1> </refentry> @@ -209,10 +205,10 @@ <refentry id="function.size"> <refnamediv> <refname>shmop_size</refname> - <refpurpose>Get size of shared memory block</refpurpose> + <refpurpose>ê³µì ë©ëª¨ë¦¬ ë¸ëì í¬ê¸°ë¥¼ ì»ì</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>ì¤ëª </title> <funcsynopsis> <funcprototype> <funcdef>int <function>shmop_size</function></funcdef> @@ -220,18 +216,16 @@ </funcprototype> </funcsynopsis> <para> - <function>shmop_size</function> is used to get the size, in bytes of the - shared memory block. + <function>shmop_size</function>ë ê³µì ë©ëª¨ë¦¬ ë¸ë í¬ê¸°ë¥¼ ë°ì´í¸ ë¨ìë¡ ì»ëë° ì¬ì©ëë¤. </para> <para> - <function>shmop_size</function> takes the shmid, which is the shared memory - block identifier created by <function>shmop_open</function>, the function - will return and int, which represents the number of bytes the shared memory - block occupies. + <function>shmop_size</function>ë <function>shmop_open</function>ì¼ë¡ ìì±ë + ê³µì ë©ëª¨ë¦¬ ë¸ë identifierì¸ shmid ì¸ì를 ì§ì íë©´, + ê³µì ë©ëª¨ë¦¬ ë¸ëì´ ì°¨ì§íê³ ìë ë°ì´í¸ ì를 ì ìíì¼ë¡ ë°ííë¤. </para> <para> <example> - <title>Getting the size of the shared memory block</title> + <title>ê³µì ë©ëª¨ë¦¬ ë¸ë í¬ê¸° ì»ê¸°</title> <programlisting role="php"> <?php $shm_size = shmop_size($shm_id); @@ -240,8 +234,8 @@ </example> </para> <para> - This example will put the size of shared memory block identified by - <literal>$shm_id</literal> into <literal>$shm_size</literal>. + ìì ìì ë <literal>$shm_id</literal>ì ìí´ ì§ì ë ê³µì ë©ëª¨ë¦¬ ë¸ëì í¬ê¸°ë¥¼ + <literal>$shm_size</literal>ì í ë¹íë¤. </para> </refsect1> </refentry> @@ -249,10 +243,10 @@ <refentry id="function.shmop_delete"> <refnamediv> <refname>shmop_delete</refname> - <refpurpose>Delete shared memory block</refpurpose> + <refpurpose>ê³µì ë©ëª¨ë¦¬ ë¸ëì ìì </refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>ì¤ëª </title> <funcsynopsis> <funcprototype> <funcdef>int <function>shmop_delete</function></funcdef> @@ -260,16 +254,16 @@ </funcprototype> </funcsynopsis> <para> - <function>shmop_delete</function> is used to delete a shared memory block. + <function>shmop_delete</function>ë ê³µì ë©ëª¨ë¦¬ ë¸ëì ìì íëë° ì¬ì©ëë¤. </para> <para> - <function>shmop_delete</function> takes the shmid, which is the shared memory - block identifier created by <function>shmop_open</function>. On success 1 is - returned, on failure 0 is returned. + <function>shmop_delete</function>í¨ìë <function>shmop_open</function>ì¼ë¡ ìì±ë + ê³µì ë©ëª¨ë¦¬ ë¸ë identifierì¸ shmid를 ì¸ìë¡ ê°ì§ë¤. + ì±ê³µíë©´ 1ì ë°ííê³ ì¤í¨íë©´ 0ì ë°ííë¤. </para> <para> <example> - <title>Deleting shared memory block</title> + <title>ê³µì ë©ëª¨ë¦¬ ë¸ë ìì </title> <programlisting role="php"> <?php shmop_delete($shm_id); @@ -278,8 +272,7 @@ </example> </para> <para> - This example will delete shared memory block identified by - <literal>$shm_id</literal>. + ì ìì ë <literal>$shm_id</literal> ì¸ìë¡ ì§ì ë ê³µì ë©ëª¨ë¦¬ ë¸ëì ìì íë¤. </para> </refsect1> </refentry> @@ -287,10 +280,10 @@ <refentry id="function.shmop_close"> <refnamediv> <refname>shmop_close</refname> - <refpurpose>Close shared memory block</refpurpose> + <refpurpose>ê³µì ë©ëª¨ë¦¬ ë¸ëì ë«ì</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>ì¤ëª </title> <funcsynopsis> <funcprototype> <funcdef>int <function>shmop_close</function></funcdef> @@ -298,15 +291,15 @@ </funcprototype> </funcsynopsis> <para> - <function>shmop_close</function> is used to close a shared memory block. + <function>shmop_close</function>ë ê³µì ë©ëª¨ë¦¬ ë¸ëì ë«ëë° ì¬ì©ëë¤. </para> <para> - <function>shmop_close</function> takes the shmid, which is the shared memory - block identifier created by <function>shmop_open</function>. + <function>shmop_close</function>ë <function>shmop_open</function>ì¼ë¡ ìì±ë + ê³µì ë©ëª¨ë¦¬ ë¸ë identifierì¸ shmid를 ì¸ìë¡ ê°ì§ë¤. </para> <para> <example> - <title>Closing shared memory block</title> + <title>ê³µì ë©ëª¨ë¦¬ ë¸ë ë«ê¸°</title> <programlisting role="php"> <?php shmop_close($shm_id); @@ -315,7 +308,7 @@ </example> </para> <para> - This example will close shared memory block identified by <literal>$shm_id</literal>. + ìì ìì ë <literal>$shm_id</literal> ì¸ìë¡ ì§ì ë ê³µì ë©ëª¨ë¦¬ ë¸ëì ë«ëë¤. </para> </refsect1> </refentry>
Index: phpdoc/kr/functions/shmop.xml diff -u phpdoc/kr/functions/shmop.xml:1.2 phpdoc/kr/functions/shmop.xml:1.3 --- phpdoc/kr/functions/shmop.xml:1.2 Fri Jan 12 06:16:40 2001 +++ phpdoc/kr/functions/shmop.xml Tue Jan 23 20:06:34 2001 @@ -1,26 +1,25 @@ - <reference id="ref.shmop"> - <title>Shared Memory Functions</title> + <reference id="ref.shmop"> + <title>ê³µì ë©ëª¨ë¦¬ í¨ì</title> <titleabbrev>shmop</titleabbrev> <partintro> <para> - Shmop is an easy to use set of functions that allows php to read, - write, create and delete UNIX shared memory segments. The functions - will not work on windows, as it does not support shared memory. To - use shmop you will need to compile php with the --enable-shmop parameter - in your configure line. + Shmopë Unix ê³µì ë©ëª¨ë¦¬ ì¸ê·¸ë¨¼í¸ë¥¼ phpìì ì½ê³ , 기ë¡íê³ , + ìì±íê³ , ìì í기 ì½ëë¡ íë í¨ì 모ìì´ë¤. + ì´ í¨ìë ìëì°ì¦ììë ê³µì ë©ëª¨ë¦¬ë¥¼ ì§ìíì§ ì기 ë문ì ëìíì§ ìëë¤. + shmop를 ì¬ì©í기 ìí´ìë --enable-shmop ì¸ìë¡ php를 ì»´íì¼í´ì¼íë¤. </para> <note> <simpara> - The functions explained in the chapter begin all with - <function>shm_</function> in PHP 4.0.3, but in PHP 4.0.4 and later - versions these names are changed to begin with - <function>shmop_</function>. + ì´ë² ì¥ììë PHP 4.0.3ì <function>shm_</function> ë¨ì´ë¡ + ììëë í¨ì를 ì¤ëª í ê²ì´ë¤. + ê·¸ë¬ë PHP 4.0.4 ì´í ë²ì ì ê²½ì° <function>shmop_</function>ë¡ + ì´ë¦ë§ ë°ëìë¤. </simpara> </note> <para> <example> - <title>Shared Memory Operations Overview</title> + <title>ê³µì ë©ëª¨ë¦¬ ìëì ê°ê´</title> <programlisting role="php"> <?php @@ -62,7 +61,7 @@ <refentry id="function.shmop_open"> <refnamediv> <refname>shmop_open</refname> - <refpurpose>Create or open shared memory block</refpurpose> + <refpurpose>ê³µì ë©ëª¨ë¦¬ ë¸ëì ì´ê±°ë ìì±</refpurpose> </refnamediv> <refsect1> <title>Description</title> @@ -76,36 +75,35 @@ </funcprototype> </funcsynopsis> <para> - <function>shmop_open</function> can create or open a shared memory block. + <function>shmop_open</function>ì ê³µì ë©ëª¨ë¦¬ ë¸ëì ìì±íê±°ë ì¬ëë° ì°ì¸ë¤. </para> <para> - <function>shmop_open</function> takes 4 parameters: key, which is the - system's id for the shared memory block, this parameter can be passed - as a decimal or hex. The second parameter are the flags that you can use: + <function>shmop_open</function>ì 4ê°ì§ ì¸ìê° ì°ì¸ë¤: + 첫ë²ì§¸ ì¸ìì¸ ê³µì ë©ëª¨ë¦¬ ë¸ëì ìì¤í ì id를 ìí key. ì´ ì¸ìë 10ì§ì ëë 16ì§ìë¡ ì§ì ëë¤. + ëë²ì§¸ ì¸ìë flagsë¡ ë¤ìê³¼ ê°ì´ ì°ì¸ë¤: <itemizedlist> <listitem> <simpara> - "a" for access (sets IPC_EXCL) - use this flag when you need to open an existing shared memory segment + "a" : ì ê·¼ (IPC_EXCL ììë¡ ì¤ì ) + ì¡´ì¬íê³ ìë ê³µì ë©ëª¨ë¦¬ ì¸ê·¸ë¨¼í¸ë¥¼ ì¬ëë° ì´ flag를 ì¬ì©. </simpara> </listitem> <listitem> <simpara> - "c" for create (sets IPC_CREATE) - use this flag when you need to create a new shared memory segment. + "c" : ìì± (IPC_CREATE ììë¡ ì¤ì ) + ìë¡ì´ ê³µì ë©ëª¨ë¦¬ ì¸ê·¸ë¨¼í¸ë¥¼ ìì±íë ¤í ë ì´ flag를 ì¬ì©. </simpara> </listitem> </itemizedlist> - The third parameter is the mode, which are the permissions that you - wish to assign to your memory segment, those are the same as permission - for a file. Permissions need to be passed in octal form ex. 0644. - The last parameter is size of the shared memory block you wish to create - in bytes. + ì¸ë²ì§¸ ì¸ìë ë©ëª¨ë¦¬ ì¸ê·¸ì»¨í¸ë¥¼ í ë¹í기를 ìíë + íì¼ì í¼ë¯¸ì ê³¼ ëì¼í ë°©ìì í¼ë¯¸ì 모ëì´ë¤. + í¼ë¯¸ì ì 0644ì ê°ì´ 8ì§ìë¡ ì§ì ëì´ì¼ íë¤. + ë§ì§ë§ ì¸ìë ë°ì´í¸ ë¨ìì ìì±í ê³µì ë©ëª¨ë¦¬ ë¸ë í¬ê¸°ì´ë¤. <note><simpara> - Note: the 3rd and 4th should be entered as 0 if you are opening an - existing memory segment. On success <function>shmop_open</function> will - return an id that you can use to access the shared memory segment - you've created. + 주ì: ì¸ë²ì§¸ì ë¤ë²ì§¸ ì¸ìë ì¡´ì¬íê³ ìë + ë©ëª¨ë¦¬ ì¸ê·¸ë¨¼í¸ë¥¼ ì´ëë 0ì ì§ì í´ì¼ë§ íë¤. + <function>shmop_open</function>í¨ìê° ì±ê³µíë©´ + ìì±ë ê³µì ë©ëª¨ë¦¬ ì¸ê·¸ë¨¼í¸ë¥¼ ì ê·¼í기 ìí´ ì¬ì©ë id를 ë°íí ê²ì´ë¤. </simpara></note> </para> <para> @@ -119,7 +117,7 @@ </example> </para> <para> - This example opened a shared memory block with a system id of 0x0fff. + ìì ìì ë ìì¤í id 0x0fff를 ê°ì§ ê³µì ë©ëª¨ë¦¬ ë¸ëì ì´ëë¡ íë¤. </para> </refsect1> </refentry> @@ -127,10 +125,10 @@ <refentry id="function.shmop_read"> <refnamediv> <refname>shmop_read</refname> - <refpurpose>Read data from shared memory block</refpurpose> + <refpurpose>ê³µì ë©ëª¨ë¦¬ ë¸ëì¼ë¡ë¶í° ë°ì´í°ë¥¼ íë </refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>ì¤ëª </title> <funcsynopsis> <funcprototype> <funcdef>string <function>shmop_read</function></funcdef> @@ -140,16 +138,16 @@ </funcprototype> </funcsynopsis> <para> - <function>shmop_read</function> will read a string from shared memory block. + <function>shmop_read</function>í¨ìë ê³µì ë©ëª¨ë¦¬ ë¸ëì¼ë¡ë¶í° 문ìì´ì ì½ëë¤. </para> <para> - <function>shmop_read</function> takes 3 parameters: shmid, which is the shared - memory block identifier created by <function>shmop_open</function>, offset from - which to start reading and count on the number of bytes to read. + <function>shmop_read</function>í¨ìë 3ê°ì ì¸ì를 ê°ì§ë¤: + <function>shmop_open</function>ì ìí´ ìì±ë ê³µì ë©ëª¨ë¦¬ ë¸ë identifierì¸ shmid, + ì½ê¸° ììí offset, ì½ì´ë¼ ë°ì´í¸ ì를 ëíë´ë count. </para> <para> <example> - <title>Reading shared memory block</title> + <title>ê³µì ë©ëª¨ë¦¬ ë¸ë íë </title> <programlisting role="php"> <?php $shm_data = shmop_read($shm_id, 0, 50); @@ -158,8 +156,7 @@ </example> </para> <para> - This example will read 50 bytes from shared memory block and place the data - inside <literal>$shm_data</literal>. + ìì ìì ë ê³µì ë©ëª¨ë¦¬ ë¸ëìì 50 ë°ì´í¸ë¥¼ ì½ì´ <literal>$shm_data</literal> ë³ìì 기ë¡í ê²ì´ë¤. </para> </refsect1> </refentry> @@ -167,10 +164,10 @@ <refentry id="function.shmop_write"> <refnamediv> <refname>shmop_write</refname> - <refpurpose>Write data into shared memory block</refpurpose> + <refpurpose>ê³µì ë©ëª¨ë¦¬ ë¸ëì ìë£ ê¸°ë¡</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>ì¤ëª </title> <funcsynopsis> <funcprototype> <funcdef>int <function>shmop_write</function></funcdef> @@ -180,17 +177,17 @@ </funcprototype> </funcsynopsis> <para> - <function>shmop_write</function> will write a string into shared memory block. + <function>shmop_write</function>í¨ìë ê³µì ë©ëª¨ë¦¬ ë¸ëì¼ë¡ 문ìì´ì 기ë¡í ê²ì´ë¤. </para> <para> - <function>shmop_write</function> takes 3 parameters: shmid, which is the - shared memory block identifier created by <function>shmop_open</function>, - data, a string that you want to write into shared memory block and offset, - which specifies where to start writing data inside the shared memory segment. + <function>shmop_write</function>í¨ìë 3ê°ì ì¸ì를 ê°ì§ë¤: + <function>shmop_open</function>ì ìí´ ìì±ë ê³µì ë©ëª¨ë¦¬ ë¸ë identifierì¸ shmid, + ê³µì ë©ëª¨ë¦¬ ë¸ëì 기ë¡í기를 ìíë 문ìì´ì¸ data, ê³µì ë©ëª¨ë¦¬ ì¸ê·¸ë¨¼í¸ ë´ë¶ì 기ë¡ì ììí + ë°ì´í°ì ìì¹ë¥¼ ì§ì í offset. </para> <para> <example> - <title>Writing to shared memory block</title> + <title>ê³µì ë©ëª¨ë¦¬ ë¸ëì¼ë¡ 기ë¡</title> <programlisting role="php"> <?php $shm_bytes_written = shmop_write($shm_id, $my_string, 0); @@ -199,9 +196,8 @@ </example> </para> <para> - This example will write data inside <literal>$my_string</literal> into - shared memory block, <literal>$shm_bytes_written</literal> will contain - the number of bytes written. + ìì ìì ë <literal>$my_string</literal>ì ê³µì ë©ëª¨ë¦¬ ë¸ëì 기ë¡íê³ , + 기ë¡ë ë°ì´í¸ ì를 <literal>$shm_bytes_written</literal>ì ë°ííë¤. </para> </refsect1> </refentry> @@ -209,10 +205,10 @@ <refentry id="function.size"> <refnamediv> <refname>shmop_size</refname> - <refpurpose>Get size of shared memory block</refpurpose> + <refpurpose>ê³µì ë©ëª¨ë¦¬ ë¸ëì í¬ê¸°ë¥¼ ì»ì</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>ì¤ëª </title> <funcsynopsis> <funcprototype> <funcdef>int <function>shmop_size</function></funcdef> @@ -220,18 +216,16 @@ </funcprototype> </funcsynopsis> <para> - <function>shmop_size</function> is used to get the size, in bytes of the - shared memory block. + <function>shmop_size</function>ë ê³µì ë©ëª¨ë¦¬ ë¸ë í¬ê¸°ë¥¼ ë°ì´í¸ ë¨ìë¡ ì»ëë° ì¬ì©ëë¤. </para> <para> - <function>shmop_size</function> takes the shmid, which is the shared memory - block identifier created by <function>shmop_open</function>, the function - will return and int, which represents the number of bytes the shared memory - block occupies. + <function>shmop_size</function>ë <function>shmop_open</function>ì¼ë¡ ìì±ë + ê³µì ë©ëª¨ë¦¬ ë¸ë identifierì¸ shmid ì¸ì를 ì§ì íë©´, + ê³µì ë©ëª¨ë¦¬ ë¸ëì´ ì°¨ì§íê³ ìë ë°ì´í¸ ì를 ì ìíì¼ë¡ ë°ííë¤. </para> <para> <example> - <title>Getting the size of the shared memory block</title> + <title>ê³µì ë©ëª¨ë¦¬ ë¸ë í¬ê¸° ì»ê¸°</title> <programlisting role="php"> <?php $shm_size = shmop_size($shm_id); @@ -240,8 +234,8 @@ </example> </para> <para> - This example will put the size of shared memory block identified by - <literal>$shm_id</literal> into <literal>$shm_size</literal>. + ìì ìì ë <literal>$shm_id</literal>ì ìí´ ì§ì ë ê³µì ë©ëª¨ë¦¬ ë¸ëì í¬ê¸°ë¥¼ + <literal>$shm_size</literal>ì í ë¹íë¤. </para> </refsect1> </refentry> @@ -249,10 +243,10 @@ <refentry id="function.shmop_delete"> <refnamediv> <refname>shmop_delete</refname> - <refpurpose>Delete shared memory block</refpurpose> + <refpurpose>ê³µì ë©ëª¨ë¦¬ ë¸ëì ìì </refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>ì¤ëª </title> <funcsynopsis> <funcprototype> <funcdef>int <function>shmop_delete</function></funcdef> @@ -260,16 +254,16 @@ </funcprototype> </funcsynopsis> <para> - <function>shmop_delete</function> is used to delete a shared memory block. + <function>shmop_delete</function>ë ê³µì ë©ëª¨ë¦¬ ë¸ëì ìì íëë° ì¬ì©ëë¤. </para> <para> - <function>shmop_delete</function> takes the shmid, which is the shared memory - block identifier created by <function>shmop_open</function>. On success 1 is - returned, on failure 0 is returned. + <function>shmop_delete</function>í¨ìë <function>shmop_open</function>ì¼ë¡ ìì±ë + ê³µì ë©ëª¨ë¦¬ ë¸ë identifierì¸ shmid를 ì¸ìë¡ ê°ì§ë¤. + ì±ê³µíë©´ 1ì ë°ííê³ ì¤í¨íë©´ 0ì ë°ííë¤. </para> <para> <example> - <title>Deleting shared memory block</title> + <title>ê³µì ë©ëª¨ë¦¬ ë¸ë ìì </title> <programlisting role="php"> <?php shmop_delete($shm_id); @@ -278,8 +272,7 @@ </example> </para> <para> - This example will delete shared memory block identified by - <literal>$shm_id</literal>. + ì ìì ë <literal>$shm_id</literal> ì¸ìë¡ ì§ì ë ê³µì ë©ëª¨ë¦¬ ë¸ëì ìì íë¤. </para> </refsect1> </refentry> @@ -287,10 +280,10 @@ <refentry id="function.shmop_close"> <refnamediv> <refname>shmop_close</refname> - <refpurpose>Close shared memory block</refpurpose> + <refpurpose>ê³µì ë©ëª¨ë¦¬ ë¸ëì ë«ì</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>ì¤ëª </title> <funcsynopsis> <funcprototype> <funcdef>int <function>shmop_close</function></funcdef> @@ -298,15 +291,15 @@ </funcprototype> </funcsynopsis> <para> - <function>shmop_close</function> is used to close a shared memory block. + <function>shmop_close</function>ë ê³µì ë©ëª¨ë¦¬ ë¸ëì ë«ëë° ì¬ì©ëë¤. </para> <para> - <function>shmop_close</function> takes the shmid, which is the shared memory - block identifier created by <function>shmop_open</function>. + <function>shmop_close</function>ë <function>shmop_open</function>ì¼ë¡ ìì±ë + ê³µì ë©ëª¨ë¦¬ ë¸ë identifierì¸ shmid를 ì¸ìë¡ ê°ì§ë¤. </para> <para> <example> - <title>Closing shared memory block</title> + <title>ê³µì ë©ëª¨ë¦¬ ë¸ë ë«ê¸°</title> <programlisting role="php"> <?php shmop_close($shm_id); @@ -315,7 +308,7 @@ </example> </para> <para> - This example will close shared memory block identified by <literal>$shm_id</literal>. + ìì ìì ë <literal>$shm_id</literal> ì¸ìë¡ ì§ì ë ê³µì ë©ëª¨ë¦¬ ë¸ëì ë«ëë¤. </para> </refsect1> </refentry>