05-12-2010
Quote:
Now a small correction , its the stdio library under the glib which defines this printf() and not the gcc.
There is no stdio library under glib. In fact there is nothing called glib! There is a header called <stdio.h> which is defined by ISO C, IEEE 1003.1 by incorporation, SUS3 by incorporation, etc. Note that there is no requirement for <stdio.h> to actually be a file - hence the term "header" instead of "header file".
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
will anybody tell me how can i access all the fields of process table .if there is any structure and a system call please specify . (1 Reply)
Discussion started by: vish_shan
1 Replies
2. HP-UX
. (2 Replies)
Discussion started by: Driver
2 Replies
3. Shell Programming and Scripting
Here is the code I'm using
{
printf("%11d %4.2f\% %4.2f\%\n", $1,$2,$3);
}
I want the output to look something like
1235415234 12.24% 52.46%
Instead it looks something like
319203842 42.27\%4.2f\%
How do I just print a "%" without awk or printf thinking I'm trying to do... (1 Reply)
Discussion started by: Awanka
1 Replies
4. Programming
I use FreeBSD,and use signal,like follows:
signal(SIGHUP,sig_hup);
signal(SIGIO,sig_io);
when I run call following code,it can run,but I find a puzzled question,it should print some information,such as printf("execute main()") will print execute main(),but in fact,printf fuction print... (2 Replies)
Discussion started by: konvalo
2 Replies
5. Linux
Hi,
Does anybody have a good pointer on Linux kernel internals for ARM architecture? I can locate plenty for x86 but since ARM is RISC I think there would be subtle changes. So if somebody has a knowledge of good document on Linux Kernel internals for ARM or even a comparative study of kernel on... (0 Replies)
Discussion started by: Rakesh Ranjan
0 Replies
6. Programming
Hello Gurus,
i am ok with the concepts of c language but i would like to know
more about the internals of c with respect to the compilers
what happens when we say
gcc filename.c
the a.out will get created(what actaully compiler does to the code inaddition to generating object code)
... (5 Replies)
Discussion started by: MrUser
5 Replies
7. UNIX for Dummies Questions & Answers
#include<stdio.h>
int counter;
int fibonacci(int n)
{
counter += 1;
if ( n <= 2 )
return 1;
else
return fibonacci(n-1) + fibonacci(n-2);
}
int main(void)
{
int i;
int sum ;
for( i = 1 ; i<= 10; i++)
{
counter = 0;
sum... (1 Reply)
Discussion started by: vincent__tse
1 Replies
8. Programming
Hi friends,
Hope everyone is doing well. Please have a look at this simple program, you will figure out what I want.
#include <stdio.h>
int main()
{
printf("Enter an integer!\n");
scanf( "%d", 134511890 ); // Valid address on my computer
printf( "%d\n", ???? );
return 0;
}
... (3 Replies)
Discussion started by: gabam
3 Replies
9. UNIX for Advanced & Expert Users
When we put a breakpoint using gcc then what all things happen internally and how the gdb using break is able to pause the execution of process( instead of killing it ) and later on resume the process execution? (0 Replies)
Discussion started by: rupeshkp728
0 Replies
10. What is on Your Mind?
Hello,
Long-time Unix hacker here - I've worked on four variants of the kernel prior to the introduction of Linux. In my spare time, I've written Linux (Ubuntu) device drivers, kernel modules, cross-compiled, and built the kernel.
I'd like to do Linux internals/device drivers as a day job,... (1 Reply)
Discussion started by: OriginalVersion
1 Replies
LEARN ABOUT LINUX
glib-gettextize
glib-gettextize(1) User Commands glib-gettextize(1)
NAME
glib-gettextize - maintain the internationalization of a package that uses the GNU gettext command
SYNOPSIS
glib-gettextize [--copy ] [--force ] [package-directory]
DESCRIPTION
glib-gettextize copies several standard files into the specified package. These files must be included in every package that uses the GNU
gettext command. glib-gettextize should only be used when creating a GNOME application.
OPTIONS
The following options are supported:
--copy Copy the files instead of creating symbolic links. You can also use -c to specify this option.
--force Force new files to be created even if old versions of the files exist. You can also use -f to specify this option.
OPERANDS
The following operands are supported:
-package-directoSpecify the package directory in which glib-gettextize should run. If no directory is specified, glib-gettextize runs in
the current directory.
EXAMPLES
Example 1: Set Up the Internationalization Framework for a Package
example% glib-gettextize
In this example, glib-gettextize is run in the package base directory.
ENVIRONMENT VARIABLES
See environ(5) for descriptions of the following environment variables that affect the execution of glib-gettextize: NLSPATH.
EXIT STATUS
The following exit values are returned:
0 Application exited successfully
>0 Application exited with failure
FILES
The following files are used by this application:
/usr/bin/glib-gettextizeThe command-line executable for the application.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgnome-base-libs-share |
+-----------------------------+-----------------------------+
|Interface stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO
gettext(1)
Latest version of the GNOME Desktop User Guide for your platform.
NOTES
Written by Erwann Chenede, Sun Microsystems Inc., 2003.
SunOS 5.10 2 Oct 2003 glib-gettextize(1)