diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2003-10-27 08:28:37 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2003-10-27 08:28:37 +0000 |
commit | d845665e0f04feb9a0ef927fce1392568a51f90f (patch) | |
tree | 1f4c97e3eb200f3ace59a43a1a80a9806f5043d5 /winsup/cygwin/winsup.h | |
parent | db30fe125f32439c108468319c98caaa94dfe7bb (diff) | |
download | cygnal-d845665e0f04feb9a0ef927fce1392568a51f90f.tar.gz cygnal-d845665e0f04feb9a0ef927fce1392568a51f90f.tar.bz2 cygnal-d845665e0f04feb9a0ef927fce1392568a51f90f.zip |
* miscfunc.cc (__check_invalid_read_ptr): New function.
* winsup.h: Declare.
Diffstat (limited to 'winsup/cygwin/winsup.h')
-rw-r--r-- | winsup/cygwin/winsup.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/winsup.h b/winsup/cygwin/winsup.h index 745519ea1..305b621db 100644 --- a/winsup/cygwin/winsup.h +++ b/winsup/cygwin/winsup.h @@ -250,6 +250,7 @@ int __stdcall check_null_empty_str_errno (const char *name) __attribute__ ((regp int __stdcall check_null_str_errno (const char *name) __attribute__ ((regparm(1))); int __stdcall __check_null_invalid_struct (void *s, unsigned sz) __attribute__ ((regparm(2))); int __stdcall __check_null_invalid_struct_errno (void *s, unsigned sz) __attribute__ ((regparm(2))); +int __stdcall __check_invalid_read_ptr (const void *s, unsigned sz) __attribute__ ((regparm(2))); int __stdcall __check_invalid_read_ptr_errno (const void *s, unsigned sz) __attribute__ ((regparm(2))); #define check_null_invalid_struct(s) \ |