04-11-2012
Thanks for the explaining, it was really helpful. One more ambiquity that I have in my mind regarding the unix system calls like open, creat, write, read etc. The system calls that I have mentioned all all used for file manipulation. We also have functions like fopen, fclose in the same c language for the same purpose. Java, C++/C# also provide classes for file manipulation. Could you please tell me what is the difference between handling files using system calls in c language, and java/C++/C# classes and c functions like fopen etc. Isn't it that the system calls are one of the low-level properties of c language. And is it right to say that Java/C# depend on c language system calls to do their file manipulation jobs, that's why they are considered high-level languages. I will really appreciate your comments. Looking forward!
Thanks in advance!
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I want to do a low level format like in windows (C:\format c:) but I don't know how it works in unix or linux.. Can somebody help me ? thnx :) (3 Replies)
Discussion started by: day
3 Replies
2. What is on Your Mind?
Post what languages (including scripting) you know, why and where you think that language is most usable. Also include libraries in which you're really good at (libusb, gtk, qt, etc).
assembly?
C or C++?
perl or python?
pascal?
bash or csh/tcsh?
opengl?
gtk or qt?
mono? (27 Replies)
Discussion started by: redoubtable
27 Replies
3. Programming
Hi,
I am trying to write zeroes to the hdd using a c program. I don't want to use the dd or ddrescue or any such inbuilt program because of reasons like real time progress, writing custom patterns. (my program is more like an erasure application, but does only zero fill).
here are the steps... (35 Replies)
Discussion started by: sponnusa
35 Replies
4. IP Networking
Hi,
What is the best reference that gives in detail on nic cards configuration , assigning multiple ip addresses to a single interface, netlink library etc and all basic stuff at this level..?
Thanks (2 Replies)
Discussion started by: Gopi Krishna P
2 Replies
5. AIX
Hello All
I have a system running AIX 61 shared uncapped partition (with 11 physical processors, 24 Virtual 72GB of Memory) .
The output from NMON, vmstat show a high run queue (60+) for continous periods of time intervals, but NO paging, relatively low I/o (6000) , CPU % is 40, Low network.... (9 Replies)
Discussion started by: IL-Malti
9 Replies
6. Programming
Hi friends,
I hope everyone is fine and doing well. I queried in my previous thread about the low-level qualities of C/C++ languages.I really thank you people for explaining, it was really helpful. One more ambiquity that I have in my mind is regarding the unix system calls like open, creat,... (1 Reply)
Discussion started by: gabam
1 Replies
7. Programming
How to use X11 without Xlib not XCB? How draw window directly on low level?
I must use anyway window manager like Motif?
I have ridden that X11 has server-client architecture, client send via TCP/IP to port 6000 request for primitives and get replies.
Where is detailed description of it? In X11... (0 Replies)
Discussion started by: AndrzejB
0 Replies
LEARN ABOUT HPUX
xtappwarnia
XtAppWarning() XtAppWarning()
Name
XtAppWarning - call the low-level warning handler.
Synopsis
void XtAppWarning(app_context, message)
XtAppContext app_context;
String message;
Inputs
app_context
Specifies the application context.
message Specifies the warning message that is to be reported.
Description
XtAppWarning() passes its arguments to the installed low-level warning handler. On POSIX systems, the default handler is _XtDefaultWarn-
ing(). It prints the message to the stderr stream and returns.
Usage
To report fatal error messages and exit, use XtAppError() or XtAppErrorMsg(). To change the low-level warning handler, use XtAppSetWarn-
ingHandler().
XtAppWarning() calls the "low-level" warning handler. It is better to use XtAppWarningMsg() which calls the "high-level" warning handler.
The high-level handler looks up the warning message in a resource database and so allows for customization and internationalization of
warning messages.
Although the Intrinsics interface allows separate error and warning handlers for each application context, most implementations will sup-
port only a single set of handlers. When a new handler is installed, it will be used in all application contexts.
See Also
XtAppError(1), XtAppErrorMsg(1), XtAppSetErrorHandler(1), XtAppSetErrorMsgHandler(1), XtAppSetWarningHandler(1), XtAppSetWarningMsgHan-
dler(1), XtAppWarningMsg(1),
XtErrorHandler(2), XtErrorMsgHandler(2).
Xt - Error Handling XtAppWarning()