memchr.3 (10b3b54548f2290bbe8d8f88c59c28d12b7a635d) | memchr.3 (2eeaf934088a2e12646ed4850c7a08c42e894c19) |
---|---|
1.\" Copyright (c) 1990, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" This code is derived from software contributed to Berkeley by 5.\" Chris Torek and the American National Standards Committee X3, 6.\" on Information Processing Systems. 7.\" 8.\" Redistribution and use in source and binary forms, with or without --- 38 unchanged lines hidden (view full) --- 47.Ft void * 48.Fn memrchr "const void *b" "int c" "size_t len" 49.Sh DESCRIPTION 50The 51.Fn memchr 52function 53locates the first occurrence of 54.Fa c | 1.\" Copyright (c) 1990, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" This code is derived from software contributed to Berkeley by 5.\" Chris Torek and the American National Standards Committee X3, 6.\" on Information Processing Systems. 7.\" 8.\" Redistribution and use in source and binary forms, with or without --- 38 unchanged lines hidden (view full) --- 47.Ft void * 48.Fn memrchr "const void *b" "int c" "size_t len" 49.Sh DESCRIPTION 50The 51.Fn memchr 52function 53locates the first occurrence of 54.Fa c |
55(converted to an unsigned char) | 55(converted to an 56.Vt "unsigned char" ) |
56in string 57.Fa b . 58.Pp 59The 60.Fn memrchr 61function behaves like 62.Fn memchr , 63except that it locates the last occurrence of --- 42 unchanged lines hidden --- | 57in string 58.Fa b . 59.Pp 60The 61.Fn memrchr 62function behaves like 63.Fn memchr , 64except that it locates the last occurrence of --- 42 unchanged lines hidden --- |