LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-07-2007, 09:36 AM   #1
sudi16
LQ Newbie
 
Registered: Jan 2005
Location: a-16,iips hostel,ring road,indore
Distribution: mandrake 10.1
Posts: 8

Rep: Reputation: 0
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)
 
Old 09-09-2007, 11:56 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
opendir question nc3b Programming 6 07-30-2007 03:00 AM
problem with Opendir command sahel Programming 1 01-05-2006 06:14 PM
c++ opendir() handling error bendeco13 Programming 1 11-06-2005 02:37 AM
opendir() SIGSEGV on RedHat 9 rylan76 Programming 2 05-26-2004 10:47 AM
perl opendir like function for php? paulish Programming 2 09-21-2003 03:45 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration