?
Solved

System calls invloved in  refresh() ?

Posted on 2003-03-26
5
Medium Priority
?
278 Views
Last Modified: 2010-04-21
Hi,

I would like to know whether there is  any system call like write() involved in the curses function refresh()?

Thanks for any help on this
Ajay

0
Comment
Question by:cdajay
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 6

Expert Comment

by:bira
ID: 8211418
refresh( ) uses include curses.h , as bellow:

#include <curses.h>
refresh( )
wrefresh(Window)
WINDOW *Window;

Take a look at this file.
In AIX and Linux its located at /usr/include/curses.h
0
 
LVL 5

Accepted Solution

by:
ecw earned 1000 total points
ID: 8212199
Of course refesh calls write, that's the way tty output takes place.
0
 
LVL 2

Expert Comment

by:bedot
ID: 8229871
to know functions ans system calls used in a function in library, you can extract first the object from the library (here refresh.o), using the ar command (take a look first at man ar),
then apply the nm command to the object such as "nm refresh.o": if the object it not stripped (symbol table removed), you can see all the functions and system call used by the function.

0

Featured Post

Introducing Priority Question

Increase expert visibility of your issues by participating in Priority Question, our latest feature for Premium and Team Account holders. Adjust the priority of your question to get emergent issues in front of subject-matter experts for help when you need it most.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

741 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question