]> granicus.if.org Git - php/commit
- Introduced posix_errno() (get error number from last error message) and
authorMarkus Fischer <mfischer@php.net>
Tue, 5 Mar 2002 16:04:04 +0000 (16:04 +0000)
committerMarkus Fischer <mfischer@php.net>
Tue, 5 Mar 2002 16:04:04 +0000 (16:04 +0000)
commit003bb8c2b4b7b3e21bfbe3fb7aa7f575898b1a7e
tree48c1b7dde5a28290a55830a6218ed89e4daab2c8
parent22aac3652ed1fbb84bebac9a821484702d7f064d
- Introduced posix_errno() (get error number from last error message) and
  posix_strerror() (convert error number into error string).

- Do not output any error message if any of the function fails with FALSE
  return value. The proper way now is to call posix_errno() and
  posix_strerror() after encountering an error condition.

- Function not support on a system no longer issue a 'not available' error
  but simply don't exist so we can safely use 'function_exists'.

- Fixed protos.

- Use new parameter parsing API.

- posix_uname() may be aware of 'domainname' (GNU extension)

- posix_getgrnam(), posix_getgrgid(): the returned information does no
  longer contains mixture of string and numbered keys (hash / array)
  but contains key 'member' with an array of all members in a list
  (or an empty array). This breaks BC but is the right thing IMHO.
ext/posix/php_posix.h
ext/posix/posix.c