7 More Discussions You Might Find Interesting
1. What is on Your Mind?
Just noticed that our successful computer trivia feature (stats here) has surpassed over 50,000 questions answered by users:
https://www.unix.com/trivia_stats.php
This was a coding effort worth while and I'm pleased to see so many people enjoying it in such a short time since it was released... (3 Replies)
Discussion started by: Neo
3 Replies
2. UNIX for Beginners Questions & Answers
Hi Folks -
Linux Version = Linux 2.6.39-400.128.17.el5uek x86_64
I have a process that determines the start and end load periods for an Oracle data load process.
The variables used are as follows follows:
They are populated like such:
However, the load requires the month to be the... (11 Replies)
Discussion started by: SIMMS7400
11 Replies
3. What is on Your Mind?
Sometime today Don Cragun reached 4000+ thanks from different folks.
Well done Don, I have learnt a lot from you and other guys on here.
Big thanks from we who have benefitted from your expertise. (6 Replies)
Discussion started by: wisecracker
6 Replies
4. UNIX for Dummies Questions & Answers
I have a file like this.
It is tab delimited.
Unfortunately, the missing data was filled in with a period "." (see the leading lines 1-5 columns)
I want to substitute the periods for misisng data with an integer "-999".
however, I do not want the global replace to change the other periods seen... (7 Replies)
Discussion started by: genehunter
7 Replies
5. Programming
In my objective-c code base I have several NSLog statements.
eg.
NSLog(@"Here is the message without arguments");
NSLog(@"Here is the message with arguments: %s, %s","argument1","argument2");
Now I want to do two things:
First to do: updating NSLog statements with... (0 Replies)
Discussion started by: Miraaj
0 Replies
6. UNIX for Advanced & Expert Users
Good day,
I do have a HP-UX B.11.31 U ia64 machine.
If I check top a proces called sfmdb is high in use en cpu. It is a postgres-command.
Full name is System Fault Management. Google gives an option to restart it in: /sbin/init.d via sfmdb stop en start.
But if I now look on the machine I... (2 Replies)
Discussion started by: velde_van_der_a
2 Replies
7. UNIX for Dummies Questions & Answers
Hi all,
If you look at the example below,I want to replace the 21st character (,) with a period (.). I have 1000 records in a file can someone help me how to do that. Thankyou all in advance.
"2008-07-15... (3 Replies)
Discussion started by: blackhawk_123
3 Replies
curl_global_init_mem(3) libcurl Manual curl_global_init_mem(3)
NAME
curl_global_init_mem - Global libcurl initialisation with memory callbacks
SYNOPSIS
#include <curl/curl.h>
CURLcode curl_global_init_mem(long flags,
curl_malloc_callback m,
curl_free_callback f,
curl_realloc_callback r,
curl_strdup_callback s,
curl_calloc_callback c );
DESCRIPTION
This function works exactly as curl_global_init(3) with one addition: it allows the application to set callbacks to replace the otherwise
used internal memory functions.
This man page only adds documentation for the callbacks, see the curl_global_init(3) man page for all the rest. When you use this function,
all callback arguments must be set to valid function pointers.
The prototypes for the given callbacks should match these:
void *malloc_callback(size_t size);
To replace malloc()
void free_callback(void *ptr);
To replace free()
void *realloc_callback(void *ptr, size_t size);
To replace realloc()
char *strdup_callback(const char *str);
To replace strdup()
void *calloc_callback(size_t nmemb, size_t size);
To replace calloc()
CAUTION
Manipulating these gives considerable powers to the application to severly screw things up for libcurl. Take care!
SEE ALSO
curl_global_init(3), curl_global_cleanup(3),
libcurl 7.12.0 10 May 2004 curl_global_init_mem(3)