logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

lowdown_file_diff — parse and diff Markdown files into formatted output

Description

       Parses  lowdown(5)  file streams fnew and fold and produces an edit script in ret of size retsz according
       to configurations opts.  The output format is specified by opts->type.

       On success, the caller is responsible for freeing ret.

Library

       library “liblowdown”

Name

       lowdown_file_diff — parse and diff Markdown files into formatted output

Return Values

       Returns zero on failure, non-zero on success.  Failure occurs when the file  read  failed  or  on  memory
       exhaustion.  On failure, the contents of ret and retsz are undefined.

See Also

lowdown(3)

Debian                                             $Mdocdate$                               LOWDOWN_FILE_DIFF(3)

Synopsis

#include<sys/queue.h>#include<stdio.h>#include<lowdown.h>intlowdown_file_diff(conststructlowdown_opts*opts, FILE*fnew, FILE*fold, char**ret, size_t*retsz);

See Also