Re: [LAD] C - Change in memory causing seg.fault (but why?)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-audio-dev@...>
Date: Saturday, November 10, 2012 - 5:54 pm

On 11/10/2012 10:35 AM, John Rigg wrote:

spot on. It's architecture dependent. Here's an index:

http://www.makelinux.net/ldd3/chp-11-sect-1

For printing, one can use
printf("val=" PRId64 "\n", (int64_t) val);

The only problematic one is size_t. printf's %z %Z is a GNU libc extension.

Back on topic, a good general introduction to pointers, malloc etc is
http://cslibrary.stanford.edu/102/PointersAndMemory.pdf

ciao,
robin
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [LAD] C - Change in memory causing seg.fault (but why?), Robin Gareus, (Sat Nov 10, 5:54 pm)