Sponsored Content
Top Forums Programming Create a lib from a c program Post 302105212 by Corona688 on Wednesday 31st of January 2007 10:32:44 AM
Old 01-31-2007
Here's an archive.org cache of it, hopefully Sun still has a live version somewhere..
 

10 More Discussions You Might Find Interesting

1. Programming

HOw to load dynamic lib from a statically linked program ?

I need to load a dynamic library from a statically linked program. Is there a way without recompiling my program. when i try to do that my program just crashes. If not possible, how can I avoid crashing the program when i try to load the dynamic lib, again without recompiling. If my... (1 Reply)
Discussion started by: disclaimer
1 Replies

2. Programming

Using a C program to create directories in UNIX

Aloha, I'm attempting to use a C program to create directories and then use a system call to have another program write .dat files into that directory. I understand that I could use the "system("mkdir directory_name")" function however, I would like my program to create a new directory each time... (3 Replies)
Discussion started by: aloha_boi
3 Replies

3. Programming

How to create a new unix user in through a c program

Hi , I want to create a new user using c program not with unix adduser command . is it possible to write a cprogram to create a new user account , it should accept username , grouid , group name and all other privilages . i can use system calls inside c program to do this . i will... (5 Replies)
Discussion started by: naren_chella
5 Replies

4. Shell Programming and Scripting

create a .dll using cygwin and a .lib

Hi, I inherited a .lib file that I need to use to make a .dll file from a c++ file. I am able to do this in visual studio but I can not do this using cygwin. I would like to build the dll using the commandline in order to create a make file. Can someone help me. I would really appreciate it. ... (0 Replies)
Discussion started by: lsoleyma
0 Replies

5. Programming

create sound using C program

I could not recall the function in C to generate diff type of sounds. Can somebody help me out. (2 Replies)
Discussion started by: bishweshwar
2 Replies

6. Shell Programming and Scripting

Shell Program to create a RPM name

Hi Guru,s/Geek,s I need help to create RPM names from rpms. Example : a2ps-4.14-6.fc10.i386 perl-Email-Find-0.10-2.fc10.noarch directfb-1.2.7-2.fc10.i386 libid3tag-0.15.1b-7.fc10.i386 apr-util-1.3.7-1.fc10.i386 libquicktime-1.0.3-4.fc10.i386 The Desired Output is : a2ps... (2 Replies)
Discussion started by: anand.linux1984
2 Replies

7. Red Hat

ls: /lib/libattr.so.1: no version information available (required by /lib/libacl.so.1)

Hello, I'm experimenting a problem on my rh server. Red Hat Enterprise Linux AS release 3 (Taroon Update 8) 2.4.21-47.ELsmp #1 SMP i686 i686 i386 GNU/Linux It started with a segmentation fault on #id root To resolve it, I've installed coreutils-4.5.3-28.4.i386.rpm But, I... (6 Replies)
Discussion started by: gogol_bordello
6 Replies

8. Programming

Can I create a shared object by using an static lib?

for example, I have a static lib name liba.a it offers some interface such a1();a2(); but i do not have the source code of liba.a; If i would like to create a shared object, and offer the similar interface of a1 and a2; Is there a way to fulfill such requirement? thanks. (7 Replies)
Discussion started by: flost
7 Replies

9. Homework & Coursework Questions

create a program that runs two processes linked oven

I need help program in C... :create a program that runs two processes linked oven (1 Reply)
Discussion started by: gizmo16
1 Replies

10. Shell Programming and Scripting

Create a program illustrating SUID

To understand SUID feature, I set SUID bit for a SHELL script. Then I executed the program by a different user. In order to understand how it works, I tried different ways like: 1) I didn't give execute permission for the other user (not an owner) and then he tried to execute it. 2) I... (15 Replies)
Discussion started by: ravisingh
15 Replies
Arch::Registry(3pm)					User Contributed Perl Documentation				       Arch::Registry(3pm)

NAME
Arch::Registry - manage registered archives, search archives on the web SYNOPSIS
use Arch::Registry; my $registry = Arch::Registry->new; my %archive_locations = $registry->registered_archives; $registry->register_archive('http://john.com/archives/main'); $registry->unregister_archive('john@mail.com--tux'); %archive_locations = $registry->supermirror_archives; die $registry->web_error if $registry->web_error; my @john_versions = @{ $registry->supermirror_archive_versions->{'john@mail.com--tux') }; my $archives = $registry->search_supermirror('.*', '--cset-gui--'); die $registry->web_error unless defined $archives; my $versions = $registry->search_supermirror('john@', '^tla', 1); print map { "$_ " } @$versions; # print john@mail.com--tux/tla... DESCRIPTION
This class provides the way to register and unregister GNU Arch archives for the caller user and list all registered archives. It also provides the way to search the supermirror (currently mirrors.sourcecontrol.net) by archive name or archive/category/branch/version regexp. METHODS
The following class methods are available: new, register_archive, unregister_archive, registered_archives, set_web_cache, flag_web_cache, supermirror_archives, supermirror_archive_versions, search_supermirror, web_error. new Construct Arch::Registry object. register_archive location [archive] Register archive at the given location and optional archive (if missing then the location is actually accessed to find the archive name). Returns true on success. unregister_archive archive Unregister archive. Returns true on success. registered_archives Returns a hash (or hashref in scalar context) of registered archives, that is pairs archive => location. set_web_cache [ named-values ] Define the web cache to use with operations on the supermirror. The keys of named-values are dir (the web cache directory) and ttl (time to live in minutes). If named-values is empty or misses dir, or dir does not exist, the cache is unset. This method has a side effect of forgetting memoized real-web-or-cache content fetches. So you may call it with or without parameters to reset the memoized values, although this should rarely be needed. flag_web_cache [value] Turn on or off the web cache depending on the parameter. value may be "enabled", "disabled", "nowrite" and "noread". Additionally, the false value will be taken as "disabled", the true value as "enabled". supermirror_archives Returns a hash (or hashref in scalar context) of archives mirrored on the supermirror, that is pairs archive => location. supermirror_archive_versions Returns a hashref of archives mirrored on the supermirror and all their versions, that is pairs archive => [ version, .. ]. search_supermirror search_supermirror archive_regexp search_supermirror archive_regexp version_regexp search_supermirror archive_regexp version_regexp return_versions Search the archives (and possibly their branches/versions) by archive and version regular expressions given. If return_versions is unset, returns arrayref that is all matching [ archive, .. ]. If return_versions is set to 'joined', returns arrayref that is all matching [ archive/version, .. ]. If return_versions is set to 'hashref', returns hashref similar to supermirror_archive_versions that is all matching { archive => [ version, .. ], ... }. If web_error occurred, returns undef. archive_regexp defaults to "any", version_regexp defaults to "any", return_versions defaults to false. web_error Returns the string containing the error while fetching one or another supermirror url (the last one). Returns undef if no error occured. BUGS
Waiting for your reports. AUTHORS
Mikhael Goikhman (migo@homemail.com--Perl-GPL/arch-perl--devel). SEE ALSO
For more information, see tla, Arch::Util, Arch::LiteWeb. perl v5.10.1 2005-05-13 Arch::Registry(3pm)
All times are GMT -4. The time now is 11:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy