473,396 Members | 1,895 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

POSIX library for Windows XP

Hello,
I am using an Absoft FORTRAN/C compiler to compile some legacy code
on a Windows XP machine. The open, read, write, close are missing
from the C code. Does anyone know of source code for building
a Windows POSIX library to implement these calls?

Any and all replies are appreciated.
Thanks
Len
--
__________________________________________________ __
Leonard J. Reder
Jet Propulsion Laboratory
Interferometry Systems and Technology Section 383
Email: re***@huey.jpl.nasa.gov
Phone (Voice): 818-354-3639
Phone (FAX): 818-354-4357
Mail Address:
Mail Stop: 171-113
4800 Oak Grove Dr.
Pasadena, CA. 91109
---------------------------------------------------
Apr 13 '06 #1
3 7072
Leonard J. Reder wrote:
Hello,
I am using an Absoft FORTRAN/C compiler to compile some legacy code
on a Windows XP machine. The open, read, write, close are missing
from the C code. Does anyone know of source code for building
a Windows POSIX library to implement these calls?

Any and all replies are appreciated.
Thanks
Len


The Microsoft Platform SDK used to come with source code for the
functionally equivalent routines _open, etc.

N. Shamsundar
University of Houston

Apr 13 '06 #2
"Leonard J. Reder" <re***@jpl.nasa.gov> writes:
Hello,
I am using an Absoft FORTRAN/C compiler to compile some legacy code
on a Windows XP machine. The open, read, write, close are missing
from the C code. Does anyone know of source code for building
a Windows POSIX library to implement these calls?


www.cygwin.com might have what you need.

--
burton samograd kruhft .at. gmail
kruhft.blogspot.com www.myspace.com/kruhft metashell.blogspot.com
Apr 13 '06 #3
"N. Shamsundar" wrote:

The Microsoft Platform SDK used to come with source code for the
functionally equivalent routines _open, etc.


Last time I tried these, many of them were badly broken on
the version of windows I was using at the time (win98).

The solution I used was to provide a wrapper version of the
POSIX functions which get used throughout the application
and then the wrapper get defined using either the POSIX
functions where they exist and work or the ghastly native
windows functions (OpenFile, ReadFile etc).
Erik
--
+-----------------------------------------------------------+
Erik de Castro Lopo
+-----------------------------------------------------------+
"I believe C++ instills fear in programmers, fear that the
interaction of some details causes unpredictable results. Its
unmanageable complexity has spawned more fear-preventing tools
than any other language, but the solution _should_ have been
to create and use a language that does not overload the
whole goddamn human brain with irrelevant details."
-- Erik Naggum
Apr 13 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Noah | last post by:
Does anyone have a function to convert back and forth between NT style paths and POSIX style? It seems trivial, but I want to make sure I don't overlook some obscure detail. Is it a simple matter...
1
by: Peter Åstrand | last post by:
There's a new PEP available: PEP 324: popen5 - New POSIX process module A copy is included below. Comments are appreciated. ---- PEP: 324 Title: popen5 - New POSIX process module
0
by: Jonathan Hodges | last post by:
Posted with an Unregistered Version of NewsHunter - The Newsgroup Utility for OS X. Get your copy today at: http://www.parkersoftware.com/products/newshunter/ Can anyone provide details on how...
0
by: RN | last post by:
Hi, I don't know if this is the right place to ask this, but - what's the difference between posix and perl regular expressions? A good example is "aa|bb". Will this match "aa" or "ab" in...
1
by: vck_82 | last post by:
HI Does any body know how to convert windows style path to posix style path. I need this because i am developing a windows application which actually starts an exe which is developed in unix....
5
by: darkspleen | last post by:
Hello: Does anyone know of if a C++ wrapper to the POSIX API exists? I'm looking for something like MFC, a Microsoft library that wraps portions of the Windows API in C++ classes, except for...
8
by: Michele 'xjp' | last post by:
Hi there, I am using a POSIX-compliant system, Cygwin on Windows. I need the features of conio.h's getch() and clrscr(), but I can't compile programs with #include <conio.h(since conio.h is NOT...
23
by: asit | last post by:
what is the difference between portable C, posix C and windows C ???
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.