WCPCPY(3POSIX)

πŸ’– PROLOG πŸ’–

okay so before we even get into it β€” bestie, this manual page is part of the POSIX Programmer's Manual. that's its whole home base, no cap. 🏠

and here's the tea you actually need to know: the Linux implementation of this interface may differ from what's written here. so if you're on Linux, go consult the corresponding Linux manual page for the details on Linux behavior. or β€” plot twist β€” the interface might not be implemented on Linux at all. πŸ’€ so do a vibe check on your platform before you come for her, okay?


✨ NAME ✨

wcpcpy β€” copy a wide-character string, returning a pointer to its end. she copies the string and hands you the ending, like a true multitasking icon. πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <wchar.h>

wchar_t *wcpcpy(wchar_t *restrict ws1, const wchar_t *restrict ws2);

πŸ’… DESCRIPTION πŸ’…

so basically... refer to wcscpy(). that's it. that's the entire description. this page is giving "ask my sister, she knows everything" energy and honestly? valid. πŸ™ˆ


okay, legal o'clock, gather round. πŸŽ€ 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.

and if this version and the original IEEE and The Open Group Standard ever disagree? the original IEEE and The Open Group Standard is the referee document. like, she's the final boss, no appeals. 😀 the original Standard can be obtained online at http://www.opengroup.org/unix/online.html .

any typographical or formatting errors chilling in this page are most likely to have been introduced during the conversion of the source files to man page format β€” so don't blame the standard, blame the glow-up process. πŸ’€ to report such errors, see https://www.kernel.org/doc/man-pages/reporting_bugs.html .


and that's the whole page, bestie!! 🫢 brought to you by IEEE/The Open Group, dated 2017, and filed under WCPCPY(3POSIX) β€” go forth and copy those wide strings, you absolute main character. πŸŒˆβ­πŸ’œ