GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
RLE_PUTCOM(3) FreeBSD Library Functions Manual RLE_PUTCOM(3)

rle_putcom - set the value of a picture comment in an RLE file.

rle_getcom - get a picture comment from an RLE file.
rle_delcom - delete a picture comment from an RLE file.

#include <rle.h>

char * rle_putcom( value, the_hdr )
char * value;
rle_hdr * the_hdr;

char * rle_getcom( name, the_hdr )
char * name;
rle_hdr * the_hdr;

char * rle_delcom( name, the_hdr )
char * name;
rle_hdr * the_hdr;

Rle_putcom can be used to add a picture comment or change the value of a picture comment in a rle_hdr(3) structure. The argument value is the string value of the comment, and is generally of the form name=value. It may also be of the form name. If there is another comment with the same name, it will be replaced with the new value, and the previous comment will be returned as the value of rle_putcom.

Rle_getcom returns a pointer to the data portion of a picture comment from an RLE file. The comment is assumed to be in the form name=value; a pointer to value is returned. If the comment is of the form name, a pointer to the null character at the end of the string is returned. If there is no comment of the above forms, a NULL pointer is returned. The the_hdr structure contains the picture comments in question.

Rle_delcom is used to delete a picture comment from a rle_hdr(3) structure. It is called with the name of the comment and the the_hdr structure to be modified. The first comment in the rle_hdr structure of the form name=value or name will be deleted. The deleted comment will be returned as the function value.

rle_addhist(3), rle_hdr(3), librle(3), RLE(5).

Spencer W. Thomas
University of Utah
2/2/87 4th Berkeley Distribution

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.