trm_read_user()

Purpose

Reads the user preferences file. You must #include "USERDATA.H" to access the structure .

Old name

#define readuser trm_read_user

Syntax

void trm_read_user(void)
void dp4_trm_read_user(struct USER * user,size_t buffer_size)

Description

The trm_read_user() function reads the user preferences into a C structure area called user. This structure is declared in the header file USERDATA.H. From 4.620 you can read preferences into a variable of your choice by calling dp4_trm_read_user() instead.

Example

trm_read_user();
show_y(1,4,user.type_ahead);