From 573c33b3b7d24354e9a5aa39071dff056217b601 Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Tue, 26 Jan 2010 20:04:03 +0000 Subject: - [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 --- main/php.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'main/php.h') 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 -- cgit v1.2.1