This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Function call difference between cygwin and Windows
- From: Biswapriyo Nath <nathbappai at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 19 Jul 2019 13:53:34 +0530
- Subject: Function call difference between cygwin and Windows
If a function calls both cygwin and Windows functions the binary creates
extra subroutine (in assembly) for cygwin ones. Example:
* Windows function:
call cs:CreatePipe
* cygwin function:
call ioctl
ioctl proc near
jmp cs:__imp_ioctl
endp
The binary is statically compiled. Why there are extra subroutines? Is this
"by-design"? Or am I missing something?
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple