Man page - lowdown_buf_diff(3)
Packages contains this manual
- lowdown_nroff_new(3)
- lowdown_gemini_free(3)
- lowdown_html_free(3)
- lowdown_gemini_rndr(3)
- lowdown_nroff_free(3)
- lowdown_term_new(3)
- lowdown_nroff_rndr(3)
- lowdown_file_diff(3)
- lowdown_metaq_free(3)
- lowdown(3)
- lowdown_latex_new(3)
- lowdown_file(3)
- lowdown_doc_new(3)
- lowdown_buf_new(3)
- lowdown_latex_rndr(3)
- lowdown_buf_free(3)
- lowdown_doc_free(3)
- lowdown_latex_free(3)
- lowdown_tree_rndr(3)
- lowdown_term_free(3)
- lowdown_gemini_new(3)
- lowdown_html_new(3)
- lowdown_odt_new(3)
- lowdown_node_free(3)
- lowdown_doc_parse(3)
- lowdown_buf_diff(3)
- lowdown_odt_rndr(3)
- lowdown_html_rndr(3)
- lowdown_buf(3)
- lowdown_odt_free(3)
- lowdown_diff(3)
- lowdown_term_rndr(3)
apt-get install liblowdown-dev
Manual
LOWDOWN_BUF_DIFF (3) Library Functions Manual LOWDOWN_BUF_DIFF (3)
NAME
lowdown_buf â parse and diff Markdown buffers into formatted output
LIBRARY
library âliblowdownâ
SYNOPSIS
#include <sys/queue.h>
#include <stdio.h>
#include <lowdown.h>
int
lowdown_buf_diff ( const struct lowdown_opts *opts , const char *new , size_t newsz , const char *old , size_t oldsz , char **ret , size_t *retsz );
DESCRIPTION
Parses lowdown (5) buffers new of size newsz and old of size oldsz and produces an edit script in ret of size retsz according to configurations opts . The script defines differences from old to new . The output format is specified by opts->type .
The caller is responsible for freeing ret .
RETURN VALUES
Returns zero on failure, non-zero on success. Failure occurs from memory exhaustion.
SEE ALSO
lowdown (3) Debian $Mdocdate$ LOWDOWN_BUF_DIFF (3)