STPCPY(3P)

πŸ’– PROLOG πŸ’–

Okay bestie, real talk before we get into it: this manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (so like, consult the corresponding Linux manual page for details on Linux behavior), or honestly? The interface may not even be implemented on Linux at all. πŸ’€ So don't come for me if your box says no.


✨ NAME ✨

stpcpy β€” copy a string and return a pointer to the end of the result πŸŽ€

πŸ¦‹ SYNOPSIS πŸ¦‹

#include <string.h>

char *stpcpy(char *restrict s1, const char *restrict s2);

🌸 DESCRIPTION 🌸

Refer to strcpy().

That's it. That's the whole description. Iconic minimalism, honestly. πŸ‘‘

Portions of this text are reprinted and reproduced in electronic form from IEEE Std 1003.1-2017, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 7, 2018 Edition, Copyright (C) 2018 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group.

In the event of any discrepancy between this version and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. 🫢 Like, the original is the main character here, not this page.

The original Standard can be obtained online at http://www.opengroup.org/unix/online.html .

Any typographical or formatting errors that appear in this page are most likely to have been introduced during the conversion of the source files to man page format. To report such errors, see https://www.kernel.org/doc/man-pages/reporting_bugs.html . πŸ™ˆ Not me snitching on typos, but do it.


Okay that's the whole page, bestie β€” short and slay. This one came from IEEE/The Open Group, dated 2017, and the manual page itself is STPCPY(3P) from the POSIX Programmer's Manual. Go forth and copy strings. πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from