Ask a Question related to PHP Development, Design and Development.
-
mbostrom at syrah dot us #1
#25475 [NEW]: Direct IO access to raw file descriptor
From: mbostrom at syrah dot us
Operating system: Unixes
PHP version: Irrelevant
PHP Bug Type: Feature/Change Request
Bug description: Direct IO access to raw file descriptor
Description:
------------
The Direct IO functions are nice.
However, it is sometimes necessary to access file descriptors by their
number. For instance, a parent process can set up file descriptors 3, 4
and 5 for communication with the a child process (in addition to file
descriptors 0, 1 and 2). It would be nice if there were a way in PHP to
get access to to file descriptor 3, so that PHP could interoperate with
software that uses "extra" file descriptors. (In particular, I am writing
a mail filter. The mail server sets up fd 3).
Getting access to the "extra" file descriptors is not possible at present,
because the only way to get a file descriptor is to call dio_open on a
file. What if the file descriptor already exists? There is currently no
way to access it.
Perhaps a function such as dio_rawfd (int fdnum) could be added? fdnum is
an integer - the number of the file descriptor you want. dio_rawfd
returns a file descriptor resource for file descriptor number fdnum.
--
Edit bug report at [url]http://bugs.php.net/?id=25475&edit=1[/url]
--
Try a CVS snapshot (php4): [url]http://bugs.php.net/fix.php?id=25475&r=trysnapshot4[/url]
Try a CVS snapshot (php5): [url]http://bugs.php.net/fix.php?id=25475&r=trysnapshot5[/url]
Fixed in CVS: [url]http://bugs.php.net/fix.php?id=25475&r=fixedcvs[/url]
Fixed in release: [url]http://bugs.php.net/fix.php?id=25475&r=alreadyfixed[/url]
Need backtrace: [url]http://bugs.php.net/fix.php?id=25475&r=needtrace[/url]
Try newer version: [url]http://bugs.php.net/fix.php?id=25475&r=oldversion[/url]
Not developer issue: [url]http://bugs.php.net/fix.php?id=25475&r=support[/url]
Expected behavior: [url]http://bugs.php.net/fix.php?id=25475&r=notwrong[/url]
Not enough info: [url]http://bugs.php.net/fix.php?id=25475&r=notenoughinfo[/url]
Submitted twice: [url]http://bugs.php.net/fix.php?id=25475&r=submittedtwice[/url]
register_globals: [url]http://bugs.php.net/fix.php?id=25475&r=globals[/url]
PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=25475&r=php3[/url]
Daylight Savings: [url]http://bugs.php.net/fix.php?id=25475&r=dst[/url]
IIS Stability: [url]http://bugs.php.net/fix.php?id=25475&r=isapi[/url]
Install GNU Sed: [url]http://bugs.php.net/fix.php?id=25475&r=gnused[/url]
mbostrom at syrah dot us Guest
-
Air extension could not create app descriptor file
CS3, v9, 3481-- Current CS 3 Air Extension and Adobe Air This was working at one point. When I installed the CS4 beta, it stopped, so I... -
#40214 [NEW]: Bad File Descriptor, Please help me
From: support at vikoshosting dot com Operating system: Linux Kernel version 2.6.9-42.0. PHP version: 5CVS-2007-01-24 (snap) PHP... -
Error parsing the Tag Library Descriptor file
We recently took on a new client that is running a shopping cart that we are suddenly getting lot of these in the application logs. I have never... -
Dup 2: Bad File Descriptor...Whuzzat mean?
I'm running Red Hat 7.2 (I think, kernel 2.4.7-10 according to uname -a) on my home computer. I had trouble deleting a cd.iso image on my last good... -
Security: Preventing direct access to a PDF file
but if a user ,who has right to log in ,opened the pdf and know the url of this pdf,then he tell this url to others ,who has no right to log in,so...



Reply With Quote

