C Language and Libraries Help (clang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
_memccpy, _fmemccpy
 Summary Example                         Up Contents Index Back
─────Run-Time Library───────────────────────────────────────────────────────
 
     The _memccpy and _fmemccpy functions copy 0 or more bytes of <src>
     to <dest>, halting when the character <c> has been copied or until
     <count> bytes have been copied, whichever comes first.
 
     The _fmemccpy function is a model-independent (large model) form
     of the _memccpy function and can be called from any point in any
     program.
 
     Return Value
 
     If the character <c> is copied, _memccpy and _fmemccpy return a
     pointer (or far pointer) to the byte in <dest> that immediately
     follows the character. If <c> is not copied, both return NULL.
                                    -♦-