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


Manual Reference Pages  -  AL_USTR_REPLACE_RANGE (3)

NAME

al_ustr_replace_range - Allegro 5 API

CONTENTS

Synopsis
Description
See Also

SYNOPSIS

C]
#include <allegro5/allegro.h>

bool al_ustr_replace_range(ALLEGRO_USTR *us1, int start_pos1, int end_pos1, const ALLEGRO_USTR *us2) ]

DESCRIPTION

Replace the part of C]us1] in the byte interval [start_pos, end_pos) with the contents of C]us2]. C]start_pos] cannot be less than 0. If C]start_pos] is past the end of C]us1] then the space between the end of the string and C]start_pos] will be padded with NUL ([aq][aq]) bytes.

Use al_ustr_offset(3) to find the byte offsets.

Returns true on success, false on error.

SEE ALSO

al_ustr_set_chr(3)

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


Allegro reference manual AL_USTR_REPLACE_RANGE (3)

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