Hello group,
I am reading Chapter 8 from "The C Programming Language" about
interfacing with the Unix system. I wanted to try out some of the
examples on Cygwin. However, the header "syscalls.h" is not found in
Cygwin. I have tried to locate the declarations for the read and write
functions I was trying to use, but no luck.
I know that "syscalls.h" is not part of standard C. I also tried on
Linux, just to make sure that this is not a Cygwin-only problem.
Thanks for any help,
Regards,
Jan van Mansum. 4 5137
On Sat, 05 Jun 2004 16:46:06 +0200, Jan van Mansum <jv*@nospam.com>
wrote in comp.lang.c: Hello group,
I am reading Chapter 8 from "The C Programming Language" about interfacing with the Unix system. I wanted to try out some of the examples on Cygwin. However, the header "syscalls.h" is not found in Cygwin. I have tried to locate the declarations for the read and write functions I was trying to use, but no luck.
I know that "syscalls.h" is not part of standard C. I also tried on Linux, just to make sure that this is not a Cygwin-only problem.
Thanks for any help, Regards, Jan van Mansum.
System calls are, by definition, specific to the operating system and
not part of the C language. As such they are off-topic and not
discussed here. You need to ask about them in platform specific
groups, such as news:comp.os.ms-windows.win32.programmer and
news:comp.os.linux.development.apps.
--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++ http://www.contrib.andrew.cmu.edu/~a...FAQ-acllc.html
"Jan van Mansum" <jv*@nospam.com> a écrit dans le message de
news:40***********************@news.xs4all.nl... Hello group,
Hi,
I am reading Chapter 8 from "The C Programming Language" about interfacing with the Unix system. I wanted to try out some of the examples on Cygwin. However, the header "syscalls.h" is not found in Cygwin. I have tried to locate the declarations for the read and write functions I was trying to use, but no luck.
Read chapter 8 several times, you'll find that you must provide the
"syscalls.h" header.
Regis
Jan van Mansum wrote: Hello group,
I am reading Chapter 8 from "The C Programming Language" about interfacing with the Unix system. I wanted to try out some of the examples on Cygwin. However, the header "syscalls.h" is not found in Cygwin. I have tried to locate the declarations for the read and write functions I was trying to use, but no luck.
I know that "syscalls.h" is not part of standard C. I also tried on Linux, just to make sure that this is not a Cygwin-only problem.
Thanks for any help, Regards, Jan van Mansum.
OK, it seems my copy of The Book is a bit outdated. Anyway I figured out
that the calls I was looking for are defined in <sys/unistd.h>.
Thanks anyway,
Jan van Mansum. Read chapter 8 several times, you'll find that you must provide the "syscalls.h" header.
Regis
You're right, I didn't read it well. Thanks,
regards,
Jan van Mansum. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Jörg Maier |
last post by:
Hey guys,
i have a big problem using Tkinter and pexpect in cygwin. i try to program
an winscp-like rsync Program for all posix Platforms (linux, macosx,
cygwin). i got a class SslConnection...
|
by: Abby |
last post by:
I'm now using Cygwin as my compiler for C code. I use Dev-c++ as my
editor.
The reason why I chose Cygwin compiler instead of the compiler that
came with Dev-C++ is that I believe it uses the same...
|
by: JS |
last post by:
I use winXP and have installed Cygwin. I use Dev-C++ and the Cygwin
compiler, but for some reason I can't compile this code:
#include <setjmp.h>
#include <stdio.h>
#include <stdlib.h>
...
|
by: reachsamdurai |
last post by:
Hello,
Can you please let me know the procedure to reach db2 command prompt
from a cygwin window (hence without using Start-> Run -> db2cmd
method). I'm planning to write shell scripts which...
|
by: lcw1964 |
last post by:
Greetings, all,
I am trying to port a little bit of math code to gcc, that in the
original version used the long double version of several functions (in
particular, atanl, fabsl, and expl).
I...
|
by: s.z.s |
last post by:
Hi!
Is anybody using an openmp compiler under cygwin? I tried to install
gcc 4.2.2 without success and now I'm looking for alternatives.
Thanks, Steffen
|
by: dot |
last post by:
I spent a few headache filled days trying to use GMP on windows
(XP pro)
I finally got it to work and since I found little help on the Web
I thought someone might find what i did useful.
...
|
by: Ale |
last post by:
Hi!
I need to compile with "Make" a source written for linux that I need
to execute under a Win32 system.
I tried to launch Make under cygwin, and it works fine, but it doesn't
run under Win32...
|
by: myusernotyours |
last post by:
Hi All,
Am working on a Java application in which I have to use the JNI to Interface with some native code for both windows and unix. Am using netbeans IDE with the C/C++ pack installed. Am also...
|
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
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
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...
|
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...
|
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: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |