Sponsored Content
Special Forums UNIX and Linux Applications Install glibc-debug for glibc-2.11.3-17.31.1 on SLES 11 Post 302779461 by DGPickett on Tuesday 12th of March 2013 04:54:22 PM
Old 03-12-2013
The last element of the array has to be filled with zeros.

Man Page for getopt_long (all Section 3) - The UNIX and Linux Forums

Crude ways to specify the size in pre-OO days.
This User Gave Thanks to DGPickett For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

glibc 2.2.2

After installing glibc 2.2.2 on my redhat 6.1 (with all necessary updates). I try to restart but my compter say i do not existst like you deleted root account and you are root. (i have seen people doing that ;-P ). I run configure with these command --bindir=/bin --sbindir=/sbin --libdir=/lib... (1 Reply)
Discussion started by: jurrien
1 Replies

2. UNIX for Advanced & Expert Users

install glibc-2.6.1

Hi, I have downloaded glibc-2.6.1.tar.tar. But I do not know how to install it on Xubuntu. Do you know ? Thank you. (4 Replies)
Discussion started by: big123456
4 Replies

3. Programming

glibc error

Hi All, This is my first time posting on this forum. I'd like to participate actively on this list. Here we go! I'm making a little application and I'm using ncurses. After a while using it, I receive the following error and the stack trace is shown: ***glibc detected*** malloc() :... (6 Replies)
Discussion started by: lagigliaivan
6 Replies

4. UNIX for Dummies Questions & Answers

message about glibc

Hi I have a strange phenomenon on putty session connected to RHEL4 server. My session is active but without any activity for 2 or 3 hours and suddenly this message appears on the prompt : $ *** glibc detected *** free(): invalid pointer: 0xb66e0d50 *** Could you have an idea about it ? (2 Replies)
Discussion started by: madmat
2 Replies

5. Ubuntu

glibc version

I need glibc version 2.2 - 2.11 for a installation. but i got glibc 2.0-2.1 from software centre... what to do? can u help? (8 Replies)
Discussion started by: paramad
8 Replies

6. UNIX for Dummies Questions & Answers

locale and glibc and charset

what's the relationship among locale, glibc, charset, charmap and fonts? why locale needs to be generated by glibc? how? what are in the locale-archive file? and what are in font files? (0 Replies)
Discussion started by: vistastar
0 Replies

7. UNIX for Dummies Questions & Answers

Help installing GLIBC on SuSe 11.

I need help updating the glibc in my suse box. I have no clue how to do this and I am afraid of breaking this box. Can someone please give me some direction? Thanks! (2 Replies)
Discussion started by: OptimusPrime1
2 Replies

8. UNIX for Advanced & Expert Users

got error when install glibc

hi all, i am play LFS recently. but i can not go on for a an error when install glibc. here is the error log: if test -r /usr/include/gnu/stubs-32.h && cmp -s /mnt/lfs/sources/glibc-build/stubs.h /usr/include/gnu/stubs-32.h; \ then echo 'stubs.h unchanged'; \ else /usr/bin/install -c... (1 Reply)
Discussion started by: arnold.king
1 Replies

9. Programming

Hidden strcmp in glibc

In glibc in file strcmp I see a definition of strcmp function and below it there is a macro "libc_hidden_builtin_def (strcmp)". This macro "libc_hidden_builtin_def (strcmp)" looks to be defining some platform(x32-64, i386) specific implementation of strcmp. Question is when is this... (7 Replies)
Discussion started by: rupeshkp728
7 Replies

10. Red Hat

Trying to install glibc-common 686 on a x64 system

Hi, I hoping someone can help me. I am running a 64 bit RH 6.5 Server, and have to install glibc.686 for a Symantec package I need to install. A prerequisite for glibc.686 is glibc-common. I'm trying to install this manually, as it's not on our local repository, but when I try, I get the... (1 Reply)
Discussion started by: badoshi
1 Replies
GETOPTS(3)						  libbash getopts Library Manual						GETOPTS(3)

NAME
getopts -- libbash library for command line parameters parsing SYNOPSIS
$retval getopt_long <Instructions> <Parameters> DESCRIPTION
This is a documentation for libbash getopts library, that implements getopt_long function for bash(1). For documentation of bash getopts function, please see getopts(1) ( getopts(1posix) on some systems). Here is a table for reference: getopts(1) (or 1posix on some systems) implemented by bash getopts(3) implemented by libbash. getopt(1) implemented by getopt utils (part of util-linux) getopt_long(1) implemented by libbash and installed to section 1 instead of 3 to prevent collision with C man pages. getopt(3) implemented by GNU C library. getopt_long(3) implemented by GNU C library. I have also seen separate getopt utility which part of util-linux package. The getopt_long function parses the command line arguments. It uses Instructions as the rules for parsing the Parameters. The Instructions A string that specifies rules for parameters parsing. The instructions string is built of a group of independent instructions, separated by a white space. Each instruction must have the following structure: -<SingleLetter>|--<MultiLetter>-><VariableName>[:] This structure contains three parts: -<SingleLetter> This is the parameter single-letter sign. For example -h. --<MultiLetter> This is the parameter's corresponding multi-letter sign. For example --help. <VariableName>[:] This is the name of the variable that will contain the parameter value. For example: HELP. The Variable name can represent one of two variables types: Flag variable (not followed by ':') In this case, it will hold the value 1 if 'on' (i.e. was specified on command line) and will not be defined if 'off'. Value variable (followed by ':') In this case, the value it will hold is the string that was given as the next parameter in the Parameters string (Separated by white-space or '=' ). If input contains more then one instance of the considered command line option, an array of the given parameters will be set as the value of the variable. The Parameters The Parameters are simply the parameters you wish to parse. RETURN VALUE
This function returns a string that contains a set of variables definitions. In order to define the variables, this string should be given as a parameter to eval function. This value is returned in the variable $retval. EXAMPLES
Parse command line parameters looking for the flags -h | --help and -v | --version and for the value -p | --path : getopt_long '-h|--help->HELP -v|--version->VERSION -p|--path->PATH:' $* eval $retval In this example, for the parameters --help --path=/usr/ the variables that will be created are: HELP=1 PATH=/usr/ for the parameters --help --path=/usr --path=/bin the variables that will be created are: HELP=1 PATH=(/usr /bin) BUGS
Values must not contain the string `__getopts__'. This string will be parsed as a single white-space. A value should not start with an already defined multi-letter sign. If such a value exists, it will be treated as the equivalent singe-letter sign. This bug only accures when using a single-letter sign, or a multi-letter sign that are not followed by a `='. For example: If we have a script named `foo', and we parse the parameters `-d|--dir:' and `-f|--file:', then foo -d --file and foo --dir --file will not work foo --dir=--file will work. AUTHORS
Hai Zaar <haizaar@haizaar.com> Gil Ran <gil@ran4.net> SEE ALSO
ldbash(1), getopt_long(1), getopts(1), getopt(1), libbash(1), getopt(3), getopt_long(3) Linux Epoch Linux
All times are GMT -4. The time now is 04:30 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy