Re: Pfile converter Big- to little endian

From: Naved A Surve (
Date: 02/13/96

In message <> you said:

> * How do I convert the pfile to a binry format that is understandable by
>   Linux ?

The easiest way to do this would be to convert all the shorts and longs to
network byte order with htons(3) and htonl(3).  Then, on the linux machine,
convert back to host byte order with ntohs(3) and ntohl(3).

Check your man pages.


This archive was generated by hypermail 2b30 : 12/07/00 PST