Movatterモバイル変換


[0]ホーム

URL:


functions /semctl
(source,CPAN)
You are viewing the version of this documentation from Perl 5.8.8.View the latest version
#semctl ID,SEMNUM,CMD,ARG

Calls the System V IPC functionsemctl. You'll probably have to say

use IPC::SysV;

first to get the correct constant definitions. If CMD is IPC_STAT or GETALL, then ARG must be a variable that will hold the returned semid_ds structure or semaphore value array. Returns likeioctl: the undefined value for error, "0 but true" for zero, or the actual return value otherwise. The ARG must consist of a vector of native short integers, which may be created withpack("s!",(0)x$nsem). See also"SysV IPC" in perlipc,IPC::SysV,IPC::Semaphore documentation.

Perldoc Browser is maintained by Dan Book (DBOOK). Please contact him via theGitHub issue tracker oremail regarding any issues with the site itself, search, or rendering of documentation.

The Perl documentation is maintained by the Perl 5 Porters in the development of Perl. Please contact them via thePerl issue tracker, themailing list, orIRC to report any issues with the contents or format of the documentation.


[8]ページ先頭

©2009-2025 Movatter.jp