save_joystick_data(3alleg4) Allegro manual save_joystick_data(3alleg4)NAME
save_joystick_data - Saves joystick calibration data. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
int save_joystick_data(const char *filename);
DESCRIPTION
After all the headache of calibrating the joystick, you may not want to make your poor users repeat the process every time they run your
program. Call this function to save the joystick calibration data into the specified configuration file, from which it can later be read
by load_joystick_data(). Pass a NULL filename to write the data to the currently selected configuration file.
RETURN VALUE
Returns zero on success, non-zero if the data could not be saved.
SEE ALSO load_joystick_data(3alleg4), set_config_file(3alleg4)Allegro version 4.4.2 save_joystick_data(3alleg4)
What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file.
# When the shell exits, append to the history file instead of overwriting it
shopt -s histappend (3 Replies)
Greetings,
I'm trying to delete a file with a weird name from within Terminal on a Mac.
It's a very old file (1992) with null characters in the name: ââWord FinderÂŽ Plusâ˘.
Here are some examples of what I've tried:
12FX009:5 dpontius$ ls
ââWord FinderÂŽ Plusâ˘
12FX009:5 dpontius$ rm... (29 Replies)