id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
mysql_reset_connection(3) | Name
mysql_reset_connection - Resets connection and clears session state
Synopsis
#include <mysql.h>
int mysql_reset_connection(MYSQL * mysql);
Description
Resets the current connection and clears session state. Similar to mysql_change_user(3) or mariadb_reconnect(3),... |
mysql_rollback(3) | Name
mysql_rollback - Rolls back the current transaction
Synopsis
#include <mysql.h>
my_bool mysql_rollback(MYSQL * mysql);
Description
Rolls back the current transaction for the database. Returns zero on success, nonzero if an error occurred.
Parameter
• m... |
mysql_row_seek(3) | Name
mysql_row_seek - Positions the row cursor to an arbitrary row
Synopsis
#include <mysql.h>
MYSQL_ROW_OFFSET mysql_row_seek(MYSQL_RES * result,
MYSQL_ROW_OFFSET offset);
Description
Positions the row cursor to an arbitra... |
mysql_row_tell(3) | Name
mysql_row_tell - Returns row offset of a result cursor
Synopsis
#include <mysql.h>
MYSQL_ROW_OFFSET mysql_row_tell(MYSQL_RES * res);
Description
Returns the row offset of a result cursor. The returned offset value can be used to reposition the result cursor by ca... |
mysql_secure_installation(1) | NAME mariadb-secure-installation - improve MariaDB installation security (mariadb-secure-installation is now a symlink to mariadb-secure-installation)
SYNOPSIS
mariadb-secure-installation
DESCRIPTION This program enables you to improve the security of your MariaDB installation in the following ways:
•... |
mysql_select_db(3) | Name
mysql_select_db - selects a database as default
Synopsis
#include <mysql.h>
int mysql_select_db(MYSQL * mysql,
const char * db);
Description
Selects a database as default. Returns zero on success, non-zero on failure
Paramete... |
mysql_send_query(3) | Name
mysql_send_query - sends a SQL statement without waiting for server response
Synopsis
#include <mysql.h>
int mysql_send_query(MYSQL * mysql,
const char *query,
unsigned long length);
Description
... |
mysql_server_end(3) | Name
mysql_server_end - Called when finished using MariaDB Connector/C
Synopsis
#include <mysql.h>
void mysql_server_end(void)
Description
Call when finished using the library, such as after disconnecting from the server. For a client program, only cleans up by perfor... |
mysql_server_init(3) | Name
mysql_server_init - Initializes library
Synopsis
#include <mysql.h>
int mysql_library_init(int argc __attribute__((unused)),
char **argv __attribute__((unused)),
char **groups __attribute__((unused)))
... |
mysql_session_track_get_first(3) | Name
mysql_session_track_get_first - retrieves first session status change information
Synopsis
#include <mysql.h>
int mysql_session_track_get_first(MYSQL * mysql,
enum enum_session_state_type type,
... |
mysql_session_track_get_next(3) | Name
mysql_session_track_get_next - Retrieves the next session status change information
Synopsis
#include <mysql.h>
int mysql_session_track_get_next(MYSQL * mysql,
enum enum_session_state_type type,
... |
mysql_set_character_set(3) | Name
mysql_set_character_set - Sets the default character set for connection
Synopsis
#include <mysql.h>
int mysql_set_character_set(MYSQL * mysql,
const char * csname);
Description
Sets the default character setfor the current... |
mysql_set_server_option(3) | Name
mysql_set_server_option - Sets server option
Synopsis
#include <mysql.h>
int mysql_set_server_option(MYSQL * mysql,
enum enum_mysql_set_option);
Description
Sets server option.
Parameters
• mysql - a mysql handl... |
mysql_setpermission(1) | NAME mariadb-setpermission - interactively set permissions in grant tables (mariadb-setpermission is now a symlink to mariadb-setpermission)
SYNOPSIS
mariadb-setpermission [options]
DESCRIPTION mariadb-setpermission is a Perl script that was originally written and contributed by Luuk de Boer. It interactively... |
mysql_shutdown(3) | Name
mysql_shutdown - Sends shutdown message to server
Synopsis
#include <mysql.h>
int mysql_shutdown(MYSQL * mysql,
enum mysql_enum_shutdown_level);
Description
This function is deprecated. Instead please use SQL SHUTDOWN command.
... |
mysql_sqlstate(3) | Name
mysql_sqlstate - returns SQLSTATE error code
Synopsis
#include <mysql.h>
const char * mysql_sqlstate(MYSQL * mysql);
Description
Returns a string containing the SQLSTATE error code for the most recently invoked function that can succeed or fail. The error code co... |
mysql_ssl_set(3) | Name
mysql_ssl_set - Sets TLS/SSL options
Synopsis
#include <mysql.h>
my_bool mysql_ssl_set(MYSQL *mysql,
const char *key,
const char *cert,
const char *ca,
... |
mysql_stat(3) | Name
mysql_stat - Returns current server status
Synopsis
#include <mysql.h>
const char * mysql_stat(MYSQL * mysql);
Description
mysql_stat() returns a string with the current server status for uptime, threads, queries, open tables, flush tables and queries per second.
... |
mysql_stmt_affected_rows(3) | Name
mysql_stmt_affected_rows - Returns the number of affected rows from previous executed prepared statement
Synopsis
#include <mysql.h>
my_ulonglong mysql_stmt_affected_rows(MYSQL_STMT * stmt);
Description
Returns the number of affected rows by the last prepared stat... |
mysql_stmt_attr_get(3) | Name
mysql_stmt_attr_get - Gets the current value of a statement attribute
Synopsis
#include <mysql.h>
my_bool mysql_stmt_attr_get(MYSQL_STMT * stmt,
enum enum_stmt_attr_type,
void * attr);
De... |
mysql_stmt_attr_set(3) | Name
mysql_stmt_attr_set - Sets attribute of a statement
Synopsis
#include <mysql.h>
my_bool mysql_stmt_attr_set(MYSQL_STMT * stmt,
enum enum_stmt_attr_type,
const void * attr);
Description
... |
mysql_stmt_bind_param(3) | Name
mysql_stmt_bind_param - Binds parameter to a prepared statement
Synopsis
#include <mysql.h>
my_bool mysql_stmt_bind_param(MYSQL_STMT * stmt,
MYSQL_BIND * bind);
Description
Binds variables for parameter markers in the pr... |
mysql_stmt_bind_result(3) | Name
mysql_stmt_bind_result - binds result columns to variables
Synopsis
#include <mysql.h>
my_bool mysql_stmt_bind_result(MYSQL_STMT * stmt,
MYSQL_BIND * bind);
Description
Binds columns in the result set to variables. Ret... |
mysql_stmt_close(3) | Name
mysql_stmt_close - Closes a prepared statement
Synopsis
#include <mysql.h>
my_bool mysql_stmt_close(MYSQL_STMT * stmt);
Description
Closes a prepared statement and deallocates the statement handle. If the current statement has pending or unread results, this func... |
mysql_stmt_data_seek(3) | Name
mysql_stmt_data_seek - Seeks to an arbitrary row in statement result set
Synopsis
#include <mysql.h>
void mysql_stmt_data_seek(MYSQL_STMT * stmt,
my_ulonglong offset);
Description
Seeks to an arbitrary row in statement resul... |
mysql_stmt_errno(3) | Name
mysql_stmt_errno - Returns error code for the last statement error
Synopsis
#include <mysql.h>
unsigned int mysql_stmt_errno(MYSQL_STMT * stmt);
Description
Returns the error code for the most recently invoked statement function that can succeed or fail.
Param... |
mysql_stmt_error(3) | Name
mysql_stmt_error - Returns a string description for the last statement error
Synopsis
#include <mysql.h>
const char * mysql_stmt_error(MYSQL_STMT * stmt);
Description
Returns a string containing the error message for the most recently invoked statement function th... |
mysql_stmt_execute(3) | Name
mysql_stmt_execute - Executes a prepared statement
Synopsis
#include <mysql.h>
int mysql_stmt_execute(MYSQL_STMT * stmt);
Description
Executes a prepared statement which was previously prepared by mysql_stmt_prepare(3). When executed any parameter markers which e... |
mysql_stmt_fetch(3) | Name
mysql_stmt_fetch - Fetches result set row from a prepared statement
Synopsis
#include <mysql.h>
int mysql_stmt_fetch(MYSQL_STMT * stmt);
Description
Fetch the result from a prepared statement into the buffer bound by [mysql_stmt_bind_result()}(mysql_stmt_bind_resu... |
mysql_stmt_fetch_column(3) | Name
mysql_stmt_fetch_column - Fetches a single column into bind buffer
Synopsis
#include <mysql.h>
int mysql_stmt_fetch_column(MYSQL_STMT * stmt,
MYSQL_BIND * bind_arg,
unsigned int column,
... |
mysql_stmt_field_count(3) | Name
mysql_stmt_field_count - Returns the number of fields in a result set
Synopsis
#include <mysql.h>
unsigned int mysql_stmt_field_count(MYSQL_STMT * stmt);
Description
Returns the number of fields in a result set of a prepared statement.
Return value
Numb... |
mysql_stmt_free_result(3) | Name
mysql_stmt_free_result - Frees stored result set memory of a prepared statement
Synopsis
#include <mysql.h>
void mysql_stmt_free_result(MYSQL_STMT * stmt);
Description
Frees stored result memory of a prepared statement.
Parameter
• stmt - a statement ha... |
mysql_stmt_init(3) | Name
mysql_stmt_init - Initializes a prepared statement handle
Synopsis
#include <mysql.h>
MYSQL_STMT * mysql_stmt_init(MYSQL * mysql);
Description
Initializes and allocates memory for a prepared statement.
Parameter
• mysql - a mysql handle, which was previ... |
mysql_stmt_insert_id(3) | Name
mysql_stmt_insert_id - Returns the auto generated id from previously executed prepared
statement.
Synopsis
#include <mysql.h>
my_ulonglong mysql_stmt_insert_id(MYSQL_STMT * stmt);
Description
The mysql_stmt_insert_id() function returns the ID generated ... |
mysql_stmt_more_results(3) | Name
mysql_stmt_more_results - indicates if one or more results from a previously executed prepared statement are available
Synopsis
#include <mysql.h>
my_bool mysql_stmt_more_results(MYSQL_STMT * stmt);
Description
Indicates if one or more result sets are available fr... |
mysql_stmt_next_result(3) | Name
mysql_stmt_next_result - prepares next result set of a prepared statement
Synopsis
#include <mysql.h>
int mysql_stmt_next_result(MYSQL_STMT * stmt);
Description
Prepares next result set from a previous call to mysql_stmt_execute(3) which can be retrieved by mysql_... |
mysql_stmt_num_rows(3) | Name
mysql_stmt_num_rows - Returns number of rows in a prepared statement result set
Synopsis
#include <mysql.h>
unsigned long long mysql_stmt_num_rows(MYSQL_STMT * stmt);
Description
Returns the number of rows in the result set. The use of mysql_stmt_num_rows() depen... |
mysql_stmt_param_count(3) | Name
mysql_stmt_param_count - Returns number of parameters
Synopsis
#include <mysql.h>
unsigned long mysql_stmt_param_count(MYSQL_STMT * stmt);
Description
Returns the number of parameter markers present in the prepared statement. Parameter markers are specified as ? ... |
mysql_stmt_param_metadata(3) | Name
mysql_stmt_param_metadata - This function does nothing!
Synopsis
#include <mysql.h>
MYSQL_RES * mysql_stmt_param_metadata(MYSQL_STMT * stmt);
Description
This function does nothing, it’s not implemented now and reserved for future use.
Parameter
• stmt ... |
mysql_stmt_prepare(3) | Name
mysql_stmt_prepare - Prepares an SQL string
Synopsis
#include <mysql.h>
int mysql_stmt_prepare(MYSQL_STMT * stmt,
const char * query,
unsigned long length);
Description
Prepares the SQL quer... |
mysql_stmt_reset(3) | Name
mysql_stmt_reset - Resets a prepared statement
Synopsis
#include <mysql.h>
my_bool mysql_stmt_reset(MYSQL_STMT * stmt);
Description
Resets a prepared statement on client and server to state after prepare.
Parameter
• stmt - a statement handle, which was... |
mysql_stmt_result_metadata(3) | Name
mysql_stmt_result_metadata - Returns result set metadata from a prepared statement.
Synopsis
#include <mysql.h>
MYSQL_RES * mysql_stmt_result_metadata(MYSQL_STMT * stmt);
Description
If a statement passed to mysql_stmt_prepare(3) is one that produces a result se... |
mysql_stmt_row_seek(3) | Name
mysql_stmt_row_seek - Positions row cursor.
Synopsis
#include <mysql.h>
MYSQL_ROW_OFFSET mysql_stmt_row_seek(MYSQL_STMT * stmt,
MYSQL_ROW_OFFSET offset);
Description
Positions the row cursor to an arbitrary row in... |
mysql_stmt_row_tell(3) | Name
mysql_stmt_row_tell - Returns position of row cursor
Synopsis
#include <mysql.h>
MYSQL_ROW_OFFSET mysql_stmt_row_tell(MYSQL_STMT * stmt);
Description
Returns the row offset of a result cursor. The returned offset value can be used to reposition the result cursor ... |
mysql_stmt_send_long_data(3) | Name
mysql_stmt_send_long_data - Sends data in chunks
Synopsis
#include <mysql.h>
my_bool mysql_stmt_send_long_data(MYSQL_STMT * stmt,
unsigned int,
const char * data,
... |
mysql_stmt_sqlstate(3) | Name
mysql_stmt_sqlstate - Returns SQLSTATE error from previous statement operation.
Synopsis
#include <mysql.h>
const char * mysql_stmt_sqlstate(MYSQL_STMT * stmt);
Description
Returns a string containing the SQLSTATE error code for the most recently invoked prepared ... |
mysql_stmt_store_result(3) | Name
mysql_stmt_store_result - Transfers a result set from a prepared statement
Synopsis
#include <mysql.h>
int mysql_stmt_store_result(MYSQL_STMT * stmt);
Description
You must call mysql_stmt_store_result() for every query that successfully produces a result set only ... |
mysql_stmt_warning_count(3) | Name
mysql_stmt_warning_count - Returns the number of warnings from the last executed statement.
Synopsis
#include <mysql.h>
unsigned int mysql_stmt_warning_count(MYSQL_STMT * stmt);
Description
Returns the number of warnings from the last executed statement, or zero i... |
mysql_store_result(3) | Name
mysql_store_result - returns a buffered result set
Synopsis
#include <mysql.h>
MYSQL_RES * mysql_store_result(MYSQL * mysql);
Description
Returns a buffered resultset from the last executed query. ### Notes
• mysql_field_count() indicates if there will be... |
mysql_thread_end(3) | Name
mysql_thread_end - Releases thread specific memory
Synopsis
#include <mysql.h>
void mysql_thread_end(void );
Description
The mysql_thread_end() function needs to be called before a client thread ends. It will release thread specific memory, which was allocated by... |
mysql_thread_id(3) | Name
mysql_thread_id - Returns id of the current connection
Synopsis
#include <mysql.h>
unsigned long mysql_thread_id(MYSQL * mysql);
Description
The mysql_thread_id() function returns the thread id for the current connection.
Parameter
• mysql - a mysql han... |
mysql_thread_init(3) | Name
mysql_thread_init - initialize thread
Synopsis
#include <mysql.h>
my_bool mysql_thread_init(void );
Description
Thread initialization for multi threaded clients. Multi threaded clients should call mysql_thread_init() at the beginning of the thread initialization... |
mysql_tzinfo_to_sql(1) | NAME mariadb-tzinfo-to-sql - load the time zone tables (mariadb-tzinfo-to-sql is now a symlink to mariadb-tzinfo-to-sql)
SYNOPSIS
mariadb-tzinfo-to-sql arguments
DESCRIPTION The mariadb-tzinfo-to-sql program loads the time zone tables in the mysql database. It is used on systems that have a zoneinfo database ... |
mysql_upgrade(1) | NAME mariadb-upgrade - check tables for MariaDB upgrade (mariadb-upgrade is now a symlink to mariadb-upgrade)
SYNOPSIS
mariadb-upgrade [options]
DESCRIPTION mariadb-upgrade examines all tables in all databases for incompatibilities with the current version of the MariaDB Server. mariadb-upgrade also upgrades... |
mysql_use_result(3) | Name
mysql_use_result - returns an unbuffered result set
Synopsis
#include <mysql.h>
MYSQL_RES * mysql_use_result(MYSQL * mysql);
Description
Used to initiate the retrieval of a result set from the last query executed using the mysql_real_query() function on the d... |
mysql_waitpid(1) | NAME mariadb-waitpid - kill process and wait for its termination (mariadb-waitpid is now a symlink to mariadb-waitpid)
SYNOPSIS
mariadb-waitpid [options] pid wait_time
DESCRIPTION mariadb-waitpid signals a process to terminate and waits for the process to exit. It uses the kill() system call and Unix signals,... |
mysql_warning_count(3) | Name
mysql_warning_count - Returns the number of warnings
Synopsis
#include <mysql.h>
unsigned int mysql_warning_count(MYSQL * mysql);
Description
Returns the number of warnings from the last executed query, or zero if there are no warnings.
Parameter
• mysq... |
mysqlaccess(1) | NAME mariadb-access - client for checking access privileges (mariadb-access is now a symlink to mariadb-access)
SYNOPSIS
mariadb-access [host_name [user_name [db_name]]] [options]
DESCRIPTION mariadb-access is a diagnostic tool written by Yves Carlier. It checks the access privileges for a host name, user nam... |
mysqladmin(1) | NAME mariadb-admin - client for administering a MariaDB server (mariadb-admin is now a symlink to mariadb-admin)
SYNOPSIS
mariadb-admin [options] command [command-arg] [command [command-arg]] ...
DESCRIPTION mariadb-admin is a client for performing administrative operations. You can use it to check the server... |
mysqlbinlog(1) | NAME mariadb-binlog - utility for processing binary log files (mariadb-binlog is now a symlink to mariadb-binlog)
SYNOPSIS
mariadb-binlog [options] log_file ...
DESCRIPTION The server's binary log consists of files containing “events” that describe modifications to database contents. The server writes these f... |
mysqlcheck(1) | NAME mariadb-check - a table maintenance program (mariadb-check is now a symlink to mariadb-check)
SYNOPSIS
mariadb-check [options] [db_name [tbl_name ...]]
DESCRIPTION The mariadb-check client performs table maintenance: It checks, repairs, optimizes, or analyzes tables.
Each table is locked and ther... |
mysqld(8) | NAME mariadbd - the MariaDB server (mariadbd is now a symlink to mariadbd)
SYNOPSIS
mariadbd [options]
DESCRIPTION mariadbd, also known as MariaDB Server, is the main program that does most of the work in a MariaDB installation. MariaDB Server manages access to the MariaDB data directory that contains databas... |
mysqld_multi(1) | NAME mariadbd-multi - manage multiple MariaDB servers (mariadbd-multi is now a symlink to mariadbd-multi)
SYNOPSIS
mariadbd-multi [options] {start|stop|report} [GNR[,GNR] ...]
DESCRIPTION mariadbd-multi is designed to manage several mariadbd processes that listen for connections on different Unix socket files... |
mysqld_safe(1) | NAME mariadbd-safe - MariaDB server startup script (mariadbd-safe is now a symlink to mariadbd-safe)
SYNOPSIS
mariadbd-safe options
DESCRIPTION mariadbd-safe is the recommended way to start a mariadbd server on Unix. mariadbd-safe adds some safety features such as restarting the server when an error occurs a... |
mysqld_safe_helper(1) | NAME mariadbd-safe-helper - helper script (mysqld_safe_helper is now a symlink to mariadbd-safe-helper)
DESCRIPTION Use: Helper script.
For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/
MariaDB 11.4 ... |
mysqldump(1) | NAME mariadb-dump - a database backup program (mariadb-dump is now a symlink to mariadb-dump)
SYNOPSIS
mariadb-dump [options] [db_name [tbl_name ...]]
DESCRIPTION The mariadb-dump client is a backup program originally written by Igor Romanenko. It can be used to dump a database or a collection of databases fo... |
mysqldumpslow(1) | NAME mariadb-dumpslow - Summarize slow query log files (mariadb-dumpslow is now a symlink to mariadb-dumpslow)
SYNOPSIS
mariadb-dumpslow [options] [log_file ...]
DESCRIPTION The MariaDB slow query log contains information about queries that take a long time to execute. mariadb-dumpslow parses MariaDB slow qu... |
mysqlhotcopy(1) | NAME mariadb-hotcopy - a database backup program (mariadb-hotcopy is now a symlink to mariadb-hotcopy)
SYNOPSIS
mariadb-hotcopy arguments
DESCRIPTION mariadb-hotcopy is a Perl script that was originally written and contributed by Tim Bunce. It uses FLUSH TABLES, LOCK TABLES, and cp or scp to make a database b... |
mysqlimport(1) | NAME mariadb-import - a data import program (mariadb-import is now a symlink to mariadb-import)
SYNOPSIS
mariadb-import [options] db_name textfile1 ...
DESCRIPTION The mariadb-import client provides a command-line interface to the LOAD DATA INFILE SQL statement. Most options to mariadb-import correspond direc... |
mysqlshow(1) | NAME mariadb-show - display database, table, and column information (mariadb-show is now a symlink to mariadb-show)
SYNOPSIS
mariadb-show [options] [db_name [tbl_name [col_name]]]
DESCRIPTION The mariadb-show client can be used to quickly see which databases exist, their tables, or a table's columns or indexe... |
mysqlslap(1) | NAME mariadb-slap - load emulation client (mariadb-slap is now a symlink to mariadb-slap)
SYNOPSIS
mariadb-slap [options]
DESCRIPTION mariadb-slap is a diagnostic program designed to emulate client load for a MariaDB server and to report the timing of each stage. It works as if multiple clients are accessing ... |
mysqltest(1) | NAME mariadb-test - program to run test cases (mariadb-test is now a symlink to mariadb-test) mariadb-test-embedded - program to run embedded test cases
SYNOPSIS
mariadb-test [options] [db_name]
mariadb-test-embedded [options] [db_name]
DESCRIPTION The mariadb-test program runs a test case against a M... |
mysqltest_embedded(1) | NAME mariadb-test - program to run test cases (mariadb-test is now a symlink to mariadb-test) mariadb-test-embedded - program to run embedded test cases
SYNOPSIS
mariadb-test [options] [db_name]
mariadb-test-embedded [options] [db_name]
DESCRIPTION The mariadb-test program runs a test case against a M... |
mytop(1) | NAME mytop - display MariaDB server performance info like 'top'
SEE ALSO For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/
AUTHOR MariaDB Foundation (http://www.mariadb.org/).
MariaDB 11.4 ... |
mzip(1) | Name mzip - change protection mode and eject disk on Zip/Jaz drive
Note of warning This manpage has been automatically generated from mtools's texinfo documentation, and may not be entirely accurate or complete. See the end of this man page for details.
Description The mzip command is used to issue ZIP disk specific... |
n_hdlc_alloc(9) | NAME n_hdlc_alloc - allocate an n_hdlc instance data structure
SYNOPSIS struct n_hdlc * n_hdlc_alloc (void );
ARGUMENTS void no arguments
DESCRIPTION Returns a pointer to newly created structure if success, otherwise NULL
SEE ALSO Kernel file ./drivers/tty/n_hdlc.c struct n_hdlc(9), n_hdlc_tty_close(... |
n_hdlc_buf_get(9) | NAME n_hdlc_buf_get - remove and return an HDLC buffer from list
SYNOPSIS struct n_hdlc_buf * n_hdlc_buf_get (struct n_hdlc_buf_list *buf_list );
ARGUMENTS buf_list pointer to HDLC buffer list
DESCRIPTION Remove and return an HDLC buffer from the head of the specified HDLC buffer list. Returns a pointer to HDLC ... |
n_hdlc_buf_put(9) | NAME n_hdlc_buf_put - add specified HDLC buffer to tail of specified list
SYNOPSIS void n_hdlc_buf_put (struct n_hdlc_buf_list *buf_list , struct n_hdlc_buf *buf );
ARGUMENTS buf_list pointer to buffer list
buf pointer to buffer
SEE ALSO Kernel file ./drivers/tty/n_hdlc.c struct n_hdlc(9), ... |
n_hdlc_buf_return(9) | NAME n_hdlc_buf_return - put the HDLC buffer after the head of the specified list
SYNOPSIS void n_hdlc_buf_return (struct n_hdlc_buf_list *buf_list , struct n_hdlc_buf *buf );
ARGUMENTS buf_list pointer to the buffer list
buf pointer to the buffer
SEE ALSO Kernel file ./drivers/tty/n_hdlc.c ... |
n_hdlc_send_frames(9) | NAME n_hdlc_send_frames - send frames on pending send buffer list
SYNOPSIS void n_hdlc_send_frames (struct n_hdlc *n_hdlc , struct tty_struct *tty );
ARGUMENTS n_hdlc pointer to ldisc instance data
tty pointer to tty instance data
DESCRIPTION Send frames on pending send buffer list until the dri... |
n_hdlc_tty_close(9) | NAME n_hdlc_tty_close - line discipline close
SYNOPSIS void n_hdlc_tty_close (struct tty_struct *tty );
ARGUMENTS tty pointer to tty info structure
DESCRIPTION Called when the line discipline is changed to something else, the tty is closed, or the tty detects a hangup.
SEE ALSO Kernel file ./drivers/tty... |
n_hdlc_tty_ioctl(9) | NAME n_hdlc_tty_ioctl - process IOCTL system call for the tty device.
SYNOPSIS int n_hdlc_tty_ioctl (struct tty_struct *tty , unsigned int cmd , unsigned long arg );
ARGUMENTS tty pointer to tty instance data
cmd IOCTL command code
arg argument for IOCTL call (cmd dependent)
D... |
n_hdlc_tty_open(9) | NAME n_hdlc_tty_open - called when line discipline changed to n_hdlc
SYNOPSIS int n_hdlc_tty_open (struct tty_struct *tty );
ARGUMENTS tty pointer to tty info structure
DESCRIPTION Returns 0 if success, otherwise error code
SEE ALSO Kernel file ./drivers/tty/n_hdlc.c struct n_hdlc(9), n_hdlc_tty_clos... |
n_hdlc_tty_poll(9) | NAME n_hdlc_tty_poll - TTY callback for poll system call
SYNOPSIS __poll_t n_hdlc_tty_poll (struct tty_struct *tty , struct file *filp , poll_table *wait );
ARGUMENTS tty pointer to tty instance data
filp pointer to open file object for device
wait wait queue for operations
DESC... |
n_hdlc_tty_read(9) | NAME n_hdlc_tty_read - Called to retrieve one frame of data (if available)
SYNOPSIS ssize_t n_hdlc_tty_read (struct tty_struct *tty , struct file *file , u8 *kbuf , size_t nr , void **cookie , unsigned long offset );
ARGUMENTS tty pointer to tty instance data
file pointer to open file object
... |
n_hdlc_tty_receive(9) | NAME n_hdlc_tty_receive - Called by tty driver when receive data is available
SYNOPSIS void n_hdlc_tty_receive (struct tty_struct *tty , const u8 *data , const u8 *flags , size_t count );
ARGUMENTS tty pointer to tty instance data
data pointer to received data
flags pointer to fla... |
n_hdlc_tty_wakeup(9) | NAME n_hdlc_tty_wakeup - Callback for transmit wakeup
SYNOPSIS void n_hdlc_tty_wakeup (struct tty_struct *tty );
ARGUMENTS tty pointer to associated tty instance data
DESCRIPTION Called when low level device driver can accept more send data.
SEE ALSO Kernel file ./drivers/tty/n_hdlc.c struct n_hdlc(... |
n_hdlc_tty_write(9) | NAME n_hdlc_tty_write - write a single frame of data to device
SYNOPSIS ssize_t n_hdlc_tty_write (struct tty_struct *tty , struct file *file , const u8 *data , size_t count );
ARGUMENTS tty pointer to associated tty device instance data
file pointer to file object data
data point... |
n_hdlc_tty_write_work(9) | NAME n_hdlc_tty_write_work - Asynchronous callback for transmit wakeup
SYNOPSIS void n_hdlc_tty_write_work (struct work_struct *work );
ARGUMENTS work pointer to work_struct
DESCRIPTION Called when low level device driver can accept more send data.
SEE ALSO Kernel file ./drivers/tty/n_hdlc.c struct n... |
n_tty_close(9) | NAME n_tty_close - close the ldisc for this tty
SYNOPSIS void n_tty_close (struct tty_struct *tty );
ARGUMENTS tty device
DESCRIPTION Called from the terminal layer when this line discipline is being shut down, either because of a close or becsuse of a discipline change. The function will not be called while... |
n_tty_flush_buffer(9) | NAME n_tty_flush_buffer - clean input queue
SYNOPSIS void n_tty_flush_buffer (struct tty_struct *tty );
ARGUMENTS tty terminal device
DESCRIPTION Flush the input buffer. Called when the tty layer wants the buffer flushed (eg at hangup) or when the N_TTY line discipline internally has to clean the pending que... |
n_tty_inherit_ops(9) | NAME n_tty_inherit_ops - inherit N_TTY methods
SYNOPSIS void n_tty_inherit_ops (struct tty_ldisc_ops *ops );
ARGUMENTS ops struct tty_ldisc_ops where to save N_TTY methods
DESCRIPTION Enables a 'subclass' line discipline to 'inherit' N_TTY methods.
SEE ALSO Kernel file ./drivers/tty/n_tty.c n_tty_kick_wor... |
n_tty_kick_worker(9) | NAME n_tty_kick_worker - start input worker (if required)
SYNOPSIS void n_tty_kick_worker (const struct tty_struct *tty );
ARGUMENTS tty terminal
DESCRIPTION Re-schedules the flip buffer work if it may have stopped. Locking: * Caller holds exclusive termios_rwsem, or * n_tty_read/consumer path: holds non-ex... |
n_tty_open(9) | NAME n_tty_open - open an ldisc
SYNOPSIS int n_tty_open (struct tty_struct *tty );
ARGUMENTS tty terminal to open
DESCRIPTION Called when this line discipline is being attached to the terminal device. Can sleep. Called serialized so that no other events will occur in parallel. No further open will occur un... |
n_tty_poll(9) | NAME n_tty_poll - poll method for N_TTY
SYNOPSIS __poll_t n_tty_poll (struct tty_struct *tty , struct file *file , poll_table *wait );
ARGUMENTS tty terminal device
file file accessing it
wait poll table
DESCRIPTION Called when the line discipline is asked to poll for data or fo... |
n_tty_read(9) | NAME n_tty_read - read function for tty
SYNOPSIS ssize_t n_tty_read (struct tty_struct *tty , struct file *file , u8 *kbuf , size_t nr , void **cookie , unsigned long offset );
ARGUMENTS tty tty device
file file object
kbuf kernelspace buffer pointer
nr size of I... |
n_tty_receive_break(9) | NAME n_tty_receive_break - handle break
SYNOPSIS void n_tty_receive_break (struct tty_struct *tty );
ARGUMENTS tty terminal
DESCRIPTION An RS232 break event has been hit in the incoming bitstream. This can cause a variety of events depending upon the termios settings. Locking: n_tty_receive_buf/producer pat... |
n_tty_receive_buf_common(9) | NAME n_tty_receive_buf_common - process input
SYNOPSIS size_t n_tty_receive_buf_common (struct tty_struct *tty , const u8 *cp , const u8 *fp , size_t count , bool flow );
ARGUMENTS tty device to receive input
cp input chars
fp flags for each char (if NULL, all chars are TTY_N... |
n_tty_receive_char(9) | NAME n_tty_receive_char - perform processing
SYNOPSIS void n_tty_receive_char (struct tty_struct *tty , u8 c );
ARGUMENTS tty terminal device
c character
DESCRIPTION Process an individual character of input received from the driver. This is serialized with respect to itself by the r... |
n_tty_receive_char_flow_ctrl(9) | NAME n_tty_receive_char_flow_ctrl - receive flow control chars
SYNOPSIS bool n_tty_receive_char_flow_ctrl (struct tty_struct *tty , u8 c , bool lookahead_done );
ARGUMENTS tty terminal device
c character
lookahead_done
lookahead has processed this character already... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.