~ubuntu-branches/ubuntu/intrepid/perl-doc-html/intrepid

« back to all changes in this revision

Viewing changes to functions/shmctl.html

  • Committer: Bazaar Package Importer
  • Author(s): Roberto C. Sanchez
  • Date: 2008-05-17 20:14:19 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080517201419-qgbuogq2ckkdisyi
Tags: 5.10.0-2
Supersede botched upload of 5.10.0-1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
      <h2>Links:</h2>
55
55
      <ul>
56
56
        <li><a href="http://search.cpan.org">CPAN</a></li>
 
57
        <li><a href="http://www.perl.org">Perl.org</a></li>
57
58
        <li><a href="http://www.perl.com">Perl.com</a></li>
58
 
        <li><a href="http://www.perl.org">Perl.org</a></li>
 
59
        <li><a href="http://perlbuzz.com">Perl Buzz</a></li>
 
60
        <li><a href="http://www.perlfoundation.org/perl5/index.cgi">Perl 5 Wiki</a></li>
 
61
        <li><a href="http://jobs.perl.org">Perl Jobs</a></li>
59
62
        <li><a href="http://www.pm.org">Perl Mongers</a></li>
60
63
        <li><a href="http://www.perlmonks.org">Perl Monks</a></li>
61
64
        <li><a href="http://planet.perl.org">Planet Perl</a></li>
65
68
      <ul>
66
69
        <li>Site maintained by<br><a href="http://perl.jonallen.info">Jon Allen</a>
67
70
            (<a href="http://perl.jonallen.info">JJ</a>)</li>
68
 
        <li class="spaced">Last updated on<br>23 April 2006</li>
 
71
        <li class="spaced">Last updated on<br>23 December 2007</li>
69
72
        <li class="spaced">See the <a href="http://perl.jonallen.info/projects/perldoc">project page</a> for
70
73
        more details</li>
71
74
      </ul>
76
79
    <div id="centerContent">
77
80
      <div id="contentHeader">
78
81
        <div id="contentHeaderLeft"><a href="#" onClick="showLeft()">Show navigation</a></div>
79
 
        <div id="contentHeaderCentre">-- Perl 5.8.8 documentation --</div>
 
82
        <div id="contentHeaderCentre">-- Perl 5.10.0 documentation --</div>
80
83
        <div id="contentHeaderRight"><a href="#" onClick="showRight()">Show toolbar</a></div>
81
84
      </div>
82
85
      <div id="breadCrumbs"><a href="../index.html">Home</a> &gt; <a href="../index-language.html">Language reference</a> &gt; <a href="../index-functions.html">Functions</a> &gt; shmctl</div>
85
88
<li><a name="shmctl-ID%2cCMD%2cARG"></a><b>shmctl ID,CMD,ARG</b>
86
89
<p></p>
87
90
<p>Calls the System V IPC function shmctl.  You'll probably have to say</p>
88
 
<pre class="verbatim">    <a class="l_k" href="../functions/use.html">use</a> <a class="l_w" href="../IPC/SysV.html">IPC::SysV</a><span class="sc">;</span></pre>
89
 
<p>first to get the correct constant definitions.  If CMD is <code class="inline">IPC_STAT</code>
 
91
<pre class="verbatim">    <a class="l_k" href="../functions/use.html">use</a> <span class="w">IPC::SysV</span><span class="sc">;</span></pre>
 
92
<p>first to get the correct constant definitions.  If CMD is <code class="inline"><span class="w">IPC_STAT</span></code>
90
93
,
91
 
then ARG must be a variable that will hold the returned <code class="inline">shmid_ds</code>
 
94
then ARG must be a variable that will hold the returned <code class="inline"><span class="w">shmid_ds</span></code>
92
95
 
93
96
structure.  Returns like ioctl: the undefined value for error, "<code class="inline"><span class="n">0</span></code>
94
97
 but
95
98
true" for zero, or the actual return value otherwise.
96
 
See also <a href="../perlipc.html#SysV-IPC">"SysV IPC" in perlipc</a> and <code class="inline"><a class="l_w" href="../IPC/SysV.html">IPC::SysV</a></code> documentation.</p>
 
99
See also <a href="../perlipc.html#SysV-IPC">"SysV IPC" in perlipc</a> and <code class="inline"><span class="w">IPC::SysV</span></code>
 
100
 documentation.</p>
97
101
</li>
98
102
</ul>
99
103
</div>
113
117
          <!--<select name="r"><option value="1" selected>Go to top result<option value="0">Show results list</select>-->
114
118
        </form>
115
119
      </p>
 
120
      <script language="JavaScript" type="text/javascript" src="/perl-version.js"></script>
116
121
      <h2>Labels:</h2>
117
122
      <p>
118
123
        <a href="#" onClick="addLabel('shmctl','functions/shmctl.html')">Add this page</a>