LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   how to use opendir() function in cygwin??? (https://www.linuxquestions.org/questions/programming-9/how-to-use-opendir-function-in-cygwin-582935/)

sudi16 09-07-2007 09:36 AM

how to use opendir() function in cygwin???
 
hi,
I wanted to ask if system calls of unix like opendir(),readir() work in cygwin.I tried them in a simple program but it didn't work.The stack dump was-


Exception: STATUS_ACCESS_VIOLATION at eip=610DE9A1
eax=00000000 ebx=FFFFFFFF ecx=FFFFFFFF edx=00290000 esi=00000001 edi=00290000
ebp=0022B048 esp=0022B044 program=C:\cygwin\home\sudeep\a.exe, pid 2240, thread main
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame Function Args
0022B048 610DE9A1 (00290000, 0022B5EE, 00402014, 00000001)
0022CC68 610E1A1B (0022D008, 611010E8, 0040200F, 0022CCBC)
0022CC88 610E4E78 (611010E8, 0040200F, 0022CCB4, 61004A0E)
0022CCA8 610EEA55 (0040200F, 000072BD, 00290000, 00664054)
0022CCE8 61092D88 (00000001, 61169690, 00660090, 0022CC70)
0022CD98 61006198 (00000000, 0022CDD0, 61005510, 0022CDD0)
61005510 61004416 (0000009C, A02404C7, E8611001, FFFFFF48)
14668 [main] a 2240 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack)

Tinkster 09-09-2007 11:56 PM

Moved: This thread is more suitable in <PROGRAMMING>, and has been moved accordingly to help your thread/question get the exposure it deserves.


All times are GMT -5. The time now is 05:57 AM.