unix equivalent for windows APIs..........................


 
Thread Tools Search this Thread
Top Forums Programming unix equivalent for windows APIs..........................
# 1  
Old 10-29-2002
Question unix equivalent for windows APIs..........................

Hi,

Is there any unix equivalents available for the folllowing windows function ?

FindFirstFile
FindNextFile etc.....

Or do i have to write an equivalent api??

Can anybody help me to do the same??

thanks in advance

Ani
# 2  
Old 10-29-2002
what do these functions do?

If you are asking how to access a directory listing, then in HP-UX you would use the dirent.h header (man dirent)

The functions allows you to open the directory file and step through the entries one by one.

MBB
# 3  
Old 10-29-2002
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX and Linux Applications

UNIX equivalent of windows terminal server options?

I want to replace Windows terminal server mostly due to cost reasons license cost for 2100 users goes out of roof. The end-user is all windows but I want a jump server that is UNIX based , I have some experience with VNC but I don't want options exists in UNIX to run a terminal services for 2100... (10 Replies)
Discussion started by: lazerz
10 Replies

2. Shell Programming and Scripting

Rest APIs without curl in shell script

We are not allowed to install curl on our linux box. Is there any other way to talk to Rest API's in shell script rather than using curl ? - Please advise - thank you (3 Replies)
Discussion started by: rv_champ
3 Replies

3. Linux

Unix Equivalent Windows Variable

Hi, I've set my Unix User Profile Variables as follows.. export LANG=en_US.UTF-8 export LC_ALL=en_US.UTF-8 I want to set the same codepages in my Windows Vista Environment.. How can i do that..? Whether the variable names remain same ..? Please help Regards, Vikram... (1 Reply)
Discussion started by: vickramshetty
1 Replies

4. Shell Programming and Scripting

Windows command shell equivalent in Unix

In Windows we use cmd.exe \c as the command SHell What is its equivalent in UNIX ? Thanx for all your help. (10 Replies)
Discussion started by: simonsimon
10 Replies

5. HP-UX

get CPU speed use pstat APIs

I get my CPU speed use pstat APIs use this program serach google and just test it #include <errno.h> #include <stdio.h> #include <unistd.h> #include <sys/param.h> #include <sys/pstat.h> #define CPU_ID 0 #define HZ_PER_MHZ 1000000 int main() { struct pst_processor pst; union pstun pu; ... (0 Replies)
Discussion started by: alert0919
0 Replies

6. Programming

scandir() + windows equivalent

Currently, Im trying to redesign some Unix-based C code to work on the Windows operating system and one problem I ran into when compiling was that the compiler failed to recognise scandir() (from my original Linux code) Im aware that scandir() is a Unix-based function, so is there an equivalent... (1 Reply)
Discussion started by: JamesGoh
1 Replies

7. Programming

IsDBCSLeadByteEx equivalent for unix

I am using IsDBCSLeadByteEx for windows, i would like to know whether there is any equivalent function in unix(linux) platform. (2 Replies)
Discussion started by: anjan_kumar_k
2 Replies

8. UNIX for Advanced & Expert Users

IsDBCSLeadByteEx equivalent for unix

I am using IsDBCSLeadByteEx for windows, i would like to know whether there is any equivalent function in unix(linux) platform. (1 Reply)
Discussion started by: anjan_kumar_k
1 Replies

9. Linux

windows startup equivalent in linux

hi all, greetings, please tell me how to start a java GUI program in the startup of the machine. since it invokes a GUI is it possiable to entry the same in /etc/rc2.d/S99userdefinedfiles. thanks in advance ., :-) (1 Reply)
Discussion started by: raguramtgr
1 Replies

10. UNIX for Dummies Questions & Answers

Unix Equivalent of Windows NT Diagnostic (Winmsd) report

Hi Guys, Is there a way I can generate a Diagnostic Report for Unix app server/database server (for sun solaris and aix) similar to the system diagnostic report in Windows NT(winmsd). Basically I am looking for the following details below in a single comprehensive report. If there is no... (2 Replies)
Discussion started by: neer
2 Replies
Login or Register to Ask a Question