home *** CD-ROM | disk | FTP | other *** search
-
-
-
- bbbbuuuuffffsssspppplllliiiitttt((((3333GGGG)))) bbbbuuuuffffsssspppplllliiiitttt((((3333GGGG))))
-
-
-
- NNNNAAAAMMMMEEEE
- _bbbb_uuuu_ffff_ssss_pppp_llll_iiii_tttt - split buffer into fields
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- _cccc_cccc [_f_l_a_g ...] _f_i_l_e ... _----_llll_gggg_eeee_nnnn [_l_i_b_r_a_r_y ...]
-
- _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_llll_iiii_bbbb_gggg_eeee_nnnn_...._hhhh_>>>>
-
- _ssss_iiii_zzzz_eeee______tttt _bbbb_uuuu_ffff_ssss_pppp_llll_iiii_tttt _((((_cccc_hhhh_aaaa_rrrr _****_bbbb_uuuu_ffff_,,,, _ssss_iiii_zzzz_eeee______tttt _nnnn_,,,, _cccc_hhhh_aaaa_rrrr _****_****_aaaa_))))_;;;;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _bbbb_uuuu_ffff_ssss_pppp_llll_iiii_tttt examines the buffer, _b_u_f, and assigns values to the pointer
- array, _a, so that the pointers point to the first _n fields in _b_u_f that
- are delimited by tabs or new-lines.
-
- To change the characters used to separate fields, call _bbbb_uuuu_ffff_ssss_pppp_llll_iiii_tttt with _b_u_f
- pointing to the string of characters, and _n and _a set to zero. For
- example, to use '_::::', '_....', and '_,,,,' as separators along with tab and new-
- line:
-
- _bbbb_uuuu_ffff_ssss_pppp_llll_iiii_tttt _((((_""""_::::_...._,,,,_\\\\_tttt_\\\\_nnnn_""""_,,,, _0000_,,,, _((((_cccc_hhhh_aaaa_rrrr_****_****_))))_0000 _))))_;;;;
-
- RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
- The number of fields assigned in the array _a. If _b_u_f is zero, the return
- value is zero and the array is unchanged. Otherwise the value is at
- least one. The remainder of the elements in the array are assigned the
- address of the null byte at the end of the buffer.
-
- EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
- _////_****
- _**** _ssss_eeee_tttt _aaaa_[[[[_0000_]]]] _==== _""""_TTTT_hhhh_iiii_ssss_""""_,,,, _aaaa_[[[[_1111_]]]] _==== _""""_iiii_ssss_""""_,,,, _aaaa_[[[[_2222_]]]] _==== _""""_aaaa_""""_,,,,
- _**** _aaaa_[[[[_3333_]]]] _==== _""""_tttt_eeee_ssss_tttt_""""
- _****_////
- _bbbb_uuuu_ffff_ssss_pppp_llll_iiii_tttt_((((_""""_TTTT_hhhh_iiii_ssss_\\\\_tttt_iiii_ssss_\\\\_tttt_aaaa_\\\\_tttt_tttt_eeee_ssss_tttt_\\\\_nnnn_""""_,,,, _4444_,,,, _aaaa_))))_;;;;
-
- NNNNOOOOTTTTEEEESSSS
- _bbbb_uuuu_ffff_ssss_pppp_llll_iiii_tttt changes the delimiters to null bytes in _b_u_f.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-