---
name: "aa_puts"
section: "3"
platform: "linux"
package: "aalib"
version: "1.4rc5-19"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/aa_puts"
---

# aa\_puts(3)

output string to AA-lib output buffers.

## NAME

aa\_puts - output string to AA-lib output buffers.

## SYNOPSIS

**#include \<aalib.h\>**

**void aa\_puts**\
 **(**\
\
 	**aa\_context \*c,**\
\
 	**int x,**\
\
 	**int y,**\
\
 	**enum aa\_attribute attr,**\
\
 	**const char \*s**\
 **);**

## PARAMETERS

- **aa\_context \*c**

  Specifies the AA-lib context to operate on.

- **int x**

  X coordinate of the first character.

- **int y**

  Y coordinate of the first character.

- **enum aa\_attribute attr**

  Attribute to use.

  Possible values for an **enum aa\_attribute** are as follows:

  - **AA\_NORMAL**

    Normal characters.

  - **AA\_DIM**

    Dark characters.

  - **AA\_BOLD**

    Bright characters.

  - **AA\_BOLDFONT**

    Characters rendered in bold font.

  - **AA\_REVERSE**

    Reversed (black on whilte) characters.

  - **AA\_SPECIAL**

    Render characters in a way easilly visible on the screen.  The exact rendering is driver dependent, but this mode ought to be used to output texts you want to make easilly visible in the image.

- **const char \*s**

  String to output.

## DESCRIPTION

Output given string to AA-lib output buffers.  To see the effect you need to call aa\_flush too.

## SEE ALSO

[save\_d(3)](/save_d/3.md), [mem\_d(3)](/mem_d/3.md), [aa\_help(3)](/aa_help/3.md), [aa\_formats(3)](/aa_formats/3.md), [aa\_fonts(3)](/aa_fonts/3.md), [aa\_dithernames(3)](/aa_dithernames/3.md), [aa\_drivers(3)](/aa_drivers/3.md), [aa\_kbddrivers(3)](/aa_kbddrivers/3.md), [aa\_mousedrivers(3)](/aa_mousedrivers/3.md), [aa\_kbdrecommended(3)](/aa_kbdrecommended/3.md), [aa\_mouserecommended(3)](/aa_mouserecommended/3.md), [aa\_displayrecommended(3)](/aa_displayrecommended/3.md), [aa\_defparams(3)](/aa_defparams/3.md), [aa\_defrenderparams(3)](/aa_defrenderparams/3.md), [aa\_scrwidth(3)](/aa_scrwidth/3.md), [aa\_scrheight(3)](/aa_scrheight/3.md), [aa\_mmwidth(3)](/aa_mmwidth/3.md), [aa\_mmheight(3)](/aa_mmheight/3.md), [aa\_imgwidth(3)](/aa_imgwidth/3.md), [aa\_imgheight(3)](/aa_imgheight/3.md), [aa\_image(3)](/aa_image/3.md), [aa\_text(3)](/aa_text/3.md), [aa\_attrs(3)](/aa_attrs/3.md), [aa\_currentfont(3)](/aa_currentfont/3.md), [aa\_autoinit(3)](/aa_autoinit/3.md), [aa\_autoinitkbd(3)](/aa_autoinitkbd/3.md), [aa\_autoinitmouse(3)](/aa_autoinitmouse/3.md), [aa\_recommendhi(3)](/aa_recommendhi/3.md), [aa\_recommendlow(3)](/aa_recommendlow/3.md), [aa\_init(3)](/aa_init/3.md), [aa\_initkbd(3)](/aa_initkbd/3.md), [aa\_initmouse(3)](/aa_initmouse/3.md), [aa\_close(3)](/aa_close/3.md), [aa\_uninitkbd(3)](/aa_uninitkbd/3.md), [aa\_uninitmouse(3)](/aa_uninitmouse/3.md), [aa\_fastrender(3)](/aa_fastrender/3.md), [aa\_render(3)](/aa_render/3.md), [aa\_printf(3)](/aa_printf/3.md), [aa\_gotoxy(3)](/aa_gotoxy/3.md), [aa\_hidecursor(3)](/aa_hidecursor/3.md), [aa\_showcursor(3)](/aa_showcursor/3.md), [aa\_getmouse(3)](/aa_getmouse/3.md), [aa\_hidemouse(3)](/aa_hidemouse/3.md), [aa\_showmouse(3)](/aa_showmouse/3.md), [aa\_registerfont(3)](/aa_registerfont/3.md), [aa\_setsupported(3)](/aa_setsupported/3.md), [aa\_setfont(3)](/aa_setfont/3.md), [aa\_getevent(3)](/aa_getevent/3.md), [aa\_getkey(3)](/aa_getkey/3.md), [aa\_resize(3)](/aa_resize/3.md), [aa\_resizehandler(3)](/aa_resizehandler/3.md), [aa\_parseoptions(3)](/aa_parseoptions/3.md), [aa\_edit(3)](/aa_edit/3.md), [aa\_createedit(3)](/aa_createedit/3.md), [aa\_editkey(3)](/aa_editkey/3.md), [aa\_putpixel(3)](/aa_putpixel/3.md), [aa\_recommendhikbd(3)](/aa_recommendhikbd/3.md), [aa\_recommendlowkbd(3)](/aa_recommendlowkbd/3.md), [aa\_recommendhimouse(3)](/aa_recommendhimouse/3.md), [aa\_recommendlowmouse(3)](/aa_recommendlowmouse/3.md), [aa\_recommendhidisplay(3)](/aa_recommendhidisplay/3.md), [aa\_recommendlowdisplay(3)](/aa_recommendlowdisplay/3.md)
