A question to ask.
seq1 = "eeeeeeeeeeeeeeeeee";
seq2 = "dddddddddddddddddddd";
char a = '*';
strcat(*seq2, &a);
strcat(*seq1, seq2);
compilation
warning: passing arg 1 of `strcat' makes pointer from integer without a cast
thanks (4 Replies)
Hello,
I need experts help in converting the below tcl function to korn shell function equivalent.
proc lsNetMaskToBits {mask} {
set dw ; # Top N bits set
set dw 0x ; # Make sure it's hexadecimal, else XOR fails.
puts "lsNetMaskToBits dw $dw"
set dw ; # Complement => low 32-N bits... (1 Reply)
Hi
How to call a shell scripting through a Perl scripting? Actually I need some value from Shell scripting and passes in the Perl scripting. So how can i do this? (2 Replies)
Anyone have any ideas why when using strcat function I would get some garbage at the beginning of the output string? what I'm doing is something like the following example.
Code:
char temp;
char tempHolder;
for(int i=0;i<something;i++){
sprintf(temp,"%u ", someVariable);... (2 Replies)
I have some matlab code that sends the serial port elements of an array using matlab's fwrite function, e.g.:
fwrite(s, , 'uchar');
What would be a unix shell equivalent? E.g., after successfully accessing the port using instructions here:
Simple terminal serial port program for Linux/MacOSX... (3 Replies)
Hi all,
I am learning POSIX shell programming, and the book I read, uses the let command for integer arithmetic.
I have downloaded and use the shellcheck program on Linux.
This programs says:
In POSIX sh, 'let' is undefined.
See the screenshot attached.
What is the POSIX... (1 Reply)
Discussion started by: johnprogrammer
1 Replies
LEARN ABOUT SUSE
gtk2::rc
Gtk2::Rc(3) User Contributed Perl Documentation Gtk2::Rc(3)NAME
Gtk2::Rc
METHODS
Gtk2::Rc->add_default_file ($filename)
o $filename (localized file name)
list = Gtk2::Rc->get_default_files
Returns the list of files that GTK+ will read at the end of Gtk2->init.
Gtk2::Rc->set_default_files (file1, ...)
o ... (list) of strings, the rc files to be parsed
o $file1 (localized file name)
Sets the list of files that GTK+ will read at the end of Gtk2->init.
string = Gtk2::Rc->get_im_module_file
string = Gtk2::Rc->get_im_module_path
string = Gtk2::Rc->get_module_dir
Gtk2::Rc->parse ($filename)
o $filename (localized file name)
Gtk2::Rc->parse_string ($rc_string)
o $rc_string (string)
boolean = Gtk2::Rc->reparse_all
boolean = Gtk2::Rc->reparse_all_for_settings ($settings, $force_load)
o $settings (Gtk2::Settings)
o $force_load (boolean)
Gtk2::Rc->reset_styles ($settings)
o $settings (Gtk2::Settings)
Since: gtk+ 2.4
style = Gtk2::Rc->get_style_by_paths ($settings, $widget_path, $class_path, $package)
o $settings (Gtk2::Settings)
o $widget_path (string)
o $class_path (string)
o $package (string)
style = Gtk2::Rc->get_style ($widget)
o $widget (Gtk2::Widget)
string = Gtk2::Rc->get_theme_dir
SEE ALSO
Gtk2
COPYRIGHT
Copyright (C) 2003-2008 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.
perl v5.12.1 2010-07-05 Gtk2::Rc(3)