08-31-2010
Thats actually a good point and I will check it on a clean FreeBSD system and get back with any issues.
10 More Discussions You Might Find Interesting
1. Linux
Yea, im having a little confusion towards installing red-hat using promise controllers. It was more easy with Windows cause it prompts me and i just press F6 at the beginning of the installation and then it gives me the list of the controllers i need (from a floppy). I tried using the noprobe on... (5 Replies)
Discussion started by: kyoist
5 Replies
2. Debian
I just reformatted my computer because of a bad tip I and I installed only the base-system to add what I'd want later. My question is how/where can I get a good X-server for Debian? I'm so used to gnome and don't really like it and want to try something else. I heard about something called: Xfree... (1 Reply)
Discussion started by: riwa
1 Replies
3. Programming
When I gzopen & gzread from a gzip file, it works OK. But I when I try to uncompress the same data from memory (either by reading to memory with fread or mmap()ing) using decompress, I get Z_DATA_ERROR. Is it because gzip file has some kind of headers that uncompress doesn't want?
How can I get... (3 Replies)
Discussion started by: rayne
3 Replies
4. Programming
I wrote a function which for uncompressing data for gzip or deflate format using zlib,see followed code;
source param is pointed to the compressed data,len param is the size of compressed data,
dest param is for returning the address which pointed to the uncompressed data;the last gzip param tell... (0 Replies)
Discussion started by: iwishfine
0 Replies
5. AIX
Question from an AIX noob --
I recently installed an AIX box with what I thought was recent 5.3 media. After the install it was at ML 5300-00.
My question is, it seems as if each ML/TL needs to be installed prior to the next - which currently makes 6(?) updates. Am I missing something - is... (4 Replies)
Discussion started by: tb0ne
4 Replies
6. Linux
Hi all,
I wanted to install the latest version of firefox 2 but it seems when I attempt to install it, it seems to be saying it is looking for c libraries version 2.3? I believe I currently have an older version of the c libraries. I am currently running Sun's JDS Linux 2003. My Mozilla web... (1 Reply)
Discussion started by: scriptingmani
1 Replies
7. UNIX for Advanced & Expert Users
Hi all,
I wanted to know how to compress a .zlib file..
an working on unix
so pls suggest accordingly.
the file is pretty big(500 mb)
also i would like to know any weblinks where i can get more info on various compressions commands in unix
i have tried zip,compress commands
but i have not... (1 Reply)
Discussion started by: wrapster
1 Replies
8. Ubuntu
Hi
I have dual operating system i.e Win XP and KUBUNTU. Now my windows XP is corrupted and i want to reinstall Win XP. So i just want to know Shall i have to reinstall Linux also or i can only reinstall win xp without affecting linux installation.
Thanks
Sarbjit (3 Replies)
Discussion started by: sarbjit
3 Replies
9. Shell Programming and Scripting
I am trying to configure gpac. I get the error as follows.
# ./configure
error: zlib not found on system or in local libs
I have installed zlib on custom path /usr/local/myapps. I know the above error occurs when devel package or .h file is not present. Its present on the server.
# ll... (7 Replies)
Discussion started by: anilcliff
7 Replies
10. UNIX for Advanced & Expert Users
Hello I have been trying to compile glib 2.28 with needs Zlib. During the compilation process I received these messages
Then giving a look at the configure of Zlib, there was an option to static link it and I obviously used it.
So I think I can solve it by compiling a shared zlib, or by... (4 Replies)
Discussion started by: colt
4 Replies
LEARN ABOUT FREEBSD
zopen
ZOPEN(3) BSD Library Functions Manual ZOPEN(3)
NAME
zopen -- open a gzip compressed stream
LIBRARY
Compression Library (libz, -lz)
SYNOPSIS
FILE *
zopen(const char *path, const char *mode);
DESCRIPTION
The zopen() opens a gzip file whose name is the string pointed to by path and associates a stream with it. It is a wrapper around zlib(3)
and standard stream I/O APIs.
The argument mode have the same meaning as it does in fopen(3).
The zopen function will associate read, write, seek and close functions of zlib(3) after successfully opened a file with funopen(3) so that
they will be used to read or write the new stream.
RETURN VALUES
Upon successful completion zopen returns a FILE pointer. Otherwise, NULL is returned and the global variable errno is set to indicate the
error.
ERRORS
In addition to the errors documented for fopen(3), the zopen function may also fail for:
[ENOMEM] Insufficient memory is available.
COMPATIBILITY
This implementation of zopen function first appeared in NetBSD 1.6 and FreeBSD 4.5. The zopen function may not be portable to systems other
than FreeBSD.
SEE ALSO
fopen(3), funopen(3), zlib(3)
BSD
March 5, 2014 BSD