10-02-2012
What are you trying to accomplish?
Regards,
Alister
10 More Discussions You Might Find Interesting
1. UNIX Desktop Questions & Answers
Hi Every One,
I got a Basic doubts about clients on X-Server environment.
1) First of all what is mend by one client. (as per my understanding one application which is connected to X-server).
2) if i say two clients connected to my X-Server from the same machine, does it mean that two... (0 Replies)
Discussion started by: ps_sureshreddi
0 Replies
2. Shell Programming and Scripting
I am trying to write a script that will ssh into a remote machine and recurse through a specified directory, find mp3 files which may be two or three directories deep (think iTunes: music/artist/album/song.mp3), and scp them back to the machine running the script. The script should also maintain... (3 Replies)
Discussion started by: johnnybg00de
3 Replies
3. Linux
Hello All,
I'm new to linux programming and this is my first post.I am porting ethernet driver from Linux2.4 to Linux2.6 for Xscale, after modifications I am able to install the driver.
Now when i assign the address to my device using ifconfig, kenerl is going to panic. Stack trace is showing... (0 Replies)
Discussion started by: vineykr
0 Replies
4. UNIX for Advanced & Expert Users
Hello All,
I'm new to linux programming and this is my first post.I am porting ethernet driver from Linux2.4 to Linux2.6 for Xscale, after modifications I am able to install the driver.
Now when i assign the address to my device using ifconfig, kenerl is going to panic. Stack trace is showing... (0 Replies)
Discussion started by: vineykr
0 Replies
5. Programming
I have a dual core pc, I write a application with two child process.
I know I can add sched_get_cpu to know the process run on which core, but, it just when the sched_get_cpu is called, it will tell me the result, my quesion is how to know the child proceess spend how many times on one core. (2 Replies)
Discussion started by: yanglei_fage
2 Replies
6. Red Hat
Hi all,
I just started working on kernel modules. One query i'm not able to resolve how i can use call any of my function(take example testfunc() ) defined in my loadable kernel module (take example : test.ko)
I want to export kernel module functions to user programs.
Consider i have... (0 Replies)
Discussion started by: er.tarun.9986
0 Replies
7. Linux
supermicro(dual core) server getting rebooted after "decompressing the kernel;booting the kernel" message comes.
I tried giving acpi=off to the kernel command line but same problem.It shows everything ok and no problem with memory and processors and power supplies.Wt could be the reason?
It has... (1 Reply)
Discussion started by: pankajd
1 Replies
8. Programming
can a linux kernel module call libc functions, such as printf(), strcpy(), etc...? (9 Replies)
Discussion started by: vistastar
9 Replies
9. Shell Programming and Scripting
Hi,
I am using ksh , i have requirement to run 4 functions in background , 4 functions call are available in a case that case is also in function, i need to execute 1st function it should run in background and return to case and next i will call 2nd function it should run in background and... (8 Replies)
Discussion started by: karthikram
8 Replies
10. Linux
I'm not able to run perf on linux 4.4. I'm using ubuntu 15.10.
The error I'm getting is:
WARNING: perf not found for kernel 4.4.0
You may need to install the following packages for this specific kernel: linux-tools-4.4.0-4.4.0 linux-cloud-tools-4.4.0-4.4.0
You may also want to install... (4 Replies)
Discussion started by: BHASKAR JUPUDI
4 Replies
LEARN ABOUT REDHAT
xmtextfieldreplacewcs
XmTextFieldReplaceWcs(library call) XmTextFieldReplaceWcs(library call)
NAME
XmTextFieldReplaceWcs -- A TextField function that replaces part of a wide character string in a TextField widget
SYNOPSIS
#include <Xm/TextF.h>
void XmTextFieldReplaceWcs(
Widget widget,
XmTextPosition from_pos,
XmTextPosition to_pos,
wchar_t *wcstring);
DESCRIPTION
XmTextFieldReplaceWcs replaces part of the wide character string in the TextField widget. The character positions begin at 0 (zero) and are
numbered sequentially from the beginning of the text.
An example text replacement would be to replace the second and third characters in the text string. To accomplish this, the parameter
from_pos must be 1 and to_pos must be 3. To insert a string after the fourth character, both parameters, from_pos and to_pos, must be 4.
This routine calls the widget's XmNvalueChangedCallback and verification callbacks, either XmNmodifyVerifyCallback or XmNmodifyVerifyCall-
backWcs, or both. If both verification callback lists are registered, the procedures of the XmNmodifyVerifyCallback list are executed first
and the resulting data is passed to the XmNmodifyVerifyCallbackWcs callbacks. If the XmNcursorPosition resource is greater than or is the
same value as from_pos, the XmNmotionVerifyCallback is called.
widget Specifies the TextField widget ID
from_pos Specifies the start position of the text to be replaced
to_pos Specifies the end position of the text to be replaced
wcstring Specifies the wide character string value to be added to the TextField widget
For a complete definition of TextField and its associated resources, see XmTextField(3).
RELATED
XmTextField(3) and XmTextFieldReplace(3).
XmTextFieldReplaceWcs(library call)