summaryrefslogtreecommitdiff
path: root/main/php.h
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2010-01-26 20:04:03 +0000
committerPierre Joye <pajoye@php.net>2010-01-26 20:04:03 +0000
commit573c33b3b7d24354e9a5aa39071dff056217b601 (patch)
treee0129428d92ad8f0001887ea4b3a6a57a01b62c4 /main/php.h
parentdaa380c0cb6ff84325ab5d9f070bf748d420c5fd (diff)
downloadphp-git-573c33b3b7d24354e9a5aa39071dff056217b601.tar.gz
- [DOC] #45986, bad file descriptor warning when rename is used with invalid path, add php_win32_docref2_from_error to display system error for non posix api
Diffstat (limited to 'main/php.h')
-rw-r--r--main/php.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/php.h b/main/php.h
index a7dad52b05..9c3124cf99 100644
--- a/main/php.h
+++ b/main/php.h
@@ -309,6 +309,8 @@ PHPAPI void php_error_docref1(const char *docref TSRMLS_DC, const char *param1,
PHP_ATTRIBUTE_FORMAT(printf, PHP_ATTR_FMT_OFFSET + 4, PHP_ATTR_FMT_OFFSET + 5);
PHPAPI void php_error_docref2(const char *docref TSRMLS_DC, const char *param1, const char *param2, int type, const char *format, ...)
PHP_ATTRIBUTE_FORMAT(printf, PHP_ATTR_FMT_OFFSET + 5, PHP_ATTR_FMT_OFFSET + 6);
+PHPAPI void php_win32_docref2_from_error(DWORD error, const char *param1, const char *param2 TSRMLS_DC);
+
END_EXTERN_C()
#define php_error_docref php_error_docref0