Operating System - HP-UX
1839572 Members
2126 Online
110147 Solutions
New Discussion

What is the sctructure of a messages catalog file ?

 
Jdamian
Respected Contributor

What is the sctructure of a messages catalog file ?

I thought the message catalog files were text file... they aren't.

What is the internal format of these files ?
4 REPLIES 4
Steve Steel
Honored Contributor

Re: What is the sctructure of a messages catalog file ?

Hi

See man dumpmsg


steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Jdamian
Respected Contributor

Re: What is the sctructure of a messages catalog file ?

'dumpmsg' man pages are not useful.

Supose you have to implement the catopen(), catclose() and catgets () system calls ... you need the internal structure to read the .cat files.
Helen French
Honored Contributor

Re: What is the sctructure of a messages catalog file ?

Hi Damian:

If I understood correctly, then you can use the command 'file' for finding out the type of any files.

# man file - for details

HTH,
Shiju
Life is a promise, fulfill it!
Jdamian
Respected Contributor

Re: What is the sctructure of a messages catalog file ?

No Shiju. "file" command is not what I was looking for.

I myself found the internal structure of a message catalog file by inspecting short message catalog files and msgcat.h header file.