You are looking at the HTML representation of the XML format.
HTML is good for debugging, but probably is not suitable for your application.
Please see "format" parameter documentation at the API help for more information.
<?xml version="1.0" encoding="utf-8"?>
<api>
  <query-continue>
    <allpages gapfrom="Region" />
  </query-continue>
  <query>
    <pages>
      <page pageid="1685" ns="0" title="Readwrite modes">
        <revisions>
          <rev revid="2231" pageid="1685" oldid="2210" minor="">[[Category:constantcategories]]

== Definition ==
Readwrite modes are used to specify the mode of reading/writing of a file, by passing one of them to the [[function]] [[fopen]]() as the [[parameter]] ''flags''.

== List ==
{|
| ''Constant'' || - ''Value'' || - ''Description''
|-
| O_READ || - 0 || - Read only.
|-
| O_READWRITE || - 1 || - Read and write. Also called O_RDWR.
|-
| O_WRITE || - 2 || - Write only.
|-
| O_ZREAD || - 3 || - Read using Z compression.
|-
| O_ZWRITE || - 4 || - Write using Z compression.
|}</rev>
        </revisions>
      </page>
      <page pageid="1502" ns="0" title="Realloc">
        <revisions>
          <rev revid="4669" pageid="1502" oldid="4627" minor="">[[Category:functions]]
[[Category:memory]]

==Definition==
'''VOID POINTER''' realloc ( <'''VOID POINTER''' data> , <'''INT''' size> )

Resizes the given block of memory.

It allocates a new block of memory, copying the old data. If the new size is smaller than the old size, the last part of the data is lost. If the new size of the block of memory requires movement of the block, the old memory block is freed.

== Parameters ==
{|
| '''VOID POINTER''' data || - Pointer to the block of memory to be resized.
|-
| '''INT''' size || - The new size of the block of memory in bytes.
|}

== Returns ==
'''VOID POINTER''' : Pointer to (the first element of) the newly allocated memory block.

== Errors ==
{|
| Insufficient memory || - There is insufficient memory available. This error doesn't occur often.
|}

== Example ==
<pre>
Program example;
Private
    byte pointer pbyte;
    byte pointer pbyte2;
    int elements = 10;
    int newelements = 15;
    int i;
Begin

    // Allocate memory
    pbyte = alloc(elements);

    // Set them to 13
    memset(pbyte,13,elements);

    // Relocate it to a larger, newly made memory block
    pbyte2 = realloc(pbyte,newelements);

    // Set the added part's elements to 16 (newelements > elements)
    memset(pbyte+elements,16,newelements-elements);

    // Show numbers
    for(i=0; i<newelements; i++)
        say("byte2["+i+"] = " + pbyte2[i]);
    end

    Repeat
        frame;
    Until(key(_esc))
    
    // Free the used memory
    free(pbyte2);

End
</pre>
Used in example: [[alloc]](), [[memset]](), [[realloc]](), [[say]](), [[free]](), [[pointer]]

{{Funcbox
  | category = Memory
}}</rev>
        </revisions>
      </page>
    </pages>
  </query>
</api>