PHP » PYTHON |
login |
register |
about
|
PYTHON dio_fcntl
is this article helpful?
|
Python replacement for PHP's dio_fcntl
[
edit
| history
]
import fcntl fcntl.fcntl(fd, cmd) fcntl.fcntl(fd, cmd, arg) dio_fcntl(PHP 4 >= 4.2.0, PHP 5 <= 5.0.5) dio_fcntl — Performs a c library fcntl on fd DescriptionThe dio_fcntl() function performs the operation specified by cmd on the file descriptor fd . Some commands require additional arguments args to be supplied. Parameters
Return ValuesReturns the result of the C call. Examples
Example #1 Setting and clearing a lock
<?php
Notes
|
more
Recently updated
more
Most requested
more
Last requests
|