10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi there. :)
I found MOTIF programming code with file dialogs.
In the compiling description is the speak of a Libarary PW.
This compiling description is mentioned :
gcc -o newone test.c -lXm -lXt -lX11 -lPW
Has anyone heared about that Library. ?
After compiling GCC is asking for... (4 Replies)
Discussion started by: Sennenmut
4 Replies
2. AIX
I'm trying to install libiconv to AIX 7.1 from an rpm off of the perzl site. The rpm appears to install but I get this error message.
add shr4.o shared members from /usr/lib/libiconv.a to /opt/freeware/lib/libiconv.a
add shr.o shared members from /usr/lib/libiconv.a to ... (5 Replies)
Discussion started by: kneemoe
5 Replies
3. Linux
Hello,
./configure script fails to configure libsf. Please check the following last few lines of configure script error.
checking for db1/db.h... no
checking for db.h... yes
checking for dbopen in -ldb1... no
configure: error: No libdb? No libsf.
But find command shows the following; ... (4 Replies)
Discussion started by: vectrum
4 Replies
4. HP-UX
We are facing issue with shared library file, we are getting difference in content for same shared file for chatr command :confused: , below are the detail about *.sl file, even we are also getting difference in size of both file. can you please tell me what will be the issue for same. is my new... (1 Reply)
Discussion started by: amodkavi
1 Replies
5. Shell Programming and Scripting
Hi:
I have a library that it only offers Makefile for building static library. It built libxxx.a file. How do I in any way build a shared library? (either changin the Makefile or direct script or command to build shared library)
Thanks. (1 Reply)
Discussion started by: cpthk
1 Replies
6. UNIX for Dummies Questions & Answers
I was curious how to tell which programs are accessing a file (libobjc.A.dylib) in /usr/lib
This file seems to be the culprit in a bunch of Safari crashes, and I just wanted to know if and what other programs use it.
Also, I was curious what a good way to find out what files are being written... (4 Replies)
Discussion started by: glev2005
4 Replies
7. Linux
I have a shared library file (.so) and I need to know some information
1. By which GCC version was this .so built?
2. Was this .so built in 32 bits mode or 64 bits mode
Any command / tools to backtrace such kind of information?
Thanks in advance! (2 Replies)
Discussion started by: princelinux
2 Replies
8. Shell Programming and Scripting
Whats the syntax for including a library file in a shell script?
say my shell script name is <abc.sh> and my library file is present in /user/abc/hello/fsfs/fsfsss/library.lib
Please tell how to include this library file in the shell script????? (6 Replies)
Discussion started by: skyineyes
6 Replies
9. Solaris
Hi all,
In our one production server Sol 9 library file /usr/lib/librtld_db.so.1 is corrupted. So su and other commands are not properly working. we are getting message like this..
su - oracle
ld.so.1: su: fatal: /usr/lib/librtld_db.so.1: unknown file type
Killed
Now I have one doubt can i... (1 Reply)
Discussion started by: Godmode
1 Replies
10. AIX
How to debug a shared library(.so file) on AIX? (1 Reply)
Discussion started by: AlbertGao
1 Replies
cset(3C) Standard C Library Functions cset(3C)
NAME
cset, csetlen, csetcol, csetno, wcsetno - get information on EUC codesets
SYNOPSIS
#include <euc.h>
int csetlen(int codeset);
int csetcol(int codeset);
int csetno(unsigned char c);
#include <widec.h>
int wcsetno(wchar_t pc);
DESCRIPTION
Both csetlen() and csetcol() take a code set number codeset, which must be 0, 1, 2, or 3. The csetlen() function returns the number of
bytes needed to represent a character of the given Extended Unix Code (EUC) code set, excluding the single-shift characters SS2 and SS3 for
codesets 2 and 3. The csetcol() function returns the number of columns a character in the given EUC code set would take on the display.
The csetno() function is implemented as a macro that returns a codeset number (0, 1, 2, or 3) for the EUC character whose first byte is c.
For example,
#include<euc.h>
...
x+=csetcol(csetno(c));
increments a counter "x" (such as the cursor position) by the width of the character whose first byte is c.
The wcsetno() function is implemented as a macro that returns a codeset number (0, 1, 2, or 3) for the given process code character pc. For
example,
#include<euc.h>
#include<widec.h>
...
x+=csetcol(wcsetno(pc));
increments a counter "x" (such as the cursor position) by the width of the Process Code character pc.
USAGE
These functions work only for the EUC locales.
The cset(), csetlen(), csetcol(), csetno(), and wcsetno() functions can be used safely in multithreaded applications, as long as setlo-
cale(3C) is not being called to change the locale.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------------------------------------+
| ATTRIBUTE TYPE ATTRIBUTE VALUE |
|MT-Level MT-Safe with exceptions |
+-----------------------------------------------------------+
SEE ALSO
setlocale(3C) euclen(3C), attributes(5)
SunOS 5.11 16 Nov 2003 cset(3C)