GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
LOWDOWN_BUF_DIFF(3) FreeBSD Library Functions Manual LOWDOWN_BUF_DIFF(3)

lowdown_buf
parse and diff Markdown buffers into formatted output

library “liblowdown”

#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);

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.

Returns zero on failure, non-zero on success. Failure occurs from memory exhaustion.

lowdown(3)
June 12, 2022 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.