🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Christopher Matthews Keane Sun, 13 Dec 1992 20:37
Swab and dynamic arrays
#745
Author: Christopher Matthews Keane
Date: Sun, 13 Dec 1992 20:37
18 lines
1175 bytes
As relatively new to GNU C and using a SUN workstation, I have 2 quick
questions.
1) I received a response concerning a question concerning the binary
representation of data on a SUN vs. a PC.  I lost that address, could
that person or another please send me a short code on how to use
swab() to change data from little-endian to big-endian... I am not
having much luck finding useful docs concerning this function.

2) I thought I remember seeing a mention that GNU C can handle dynamic
array allocation.  I realize that this is easily mimicked using
malloc(), etc.. but is this a truth or fantasy?  If it exists, what
are the limitations?

Sorry if this is a FAQ - but if a FAQ exists for this group, can
someone please point me to it?!?!?!
Cheers
Christopher Keane
keane@earthsun.umd.edu
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads