CPGETC(3NCARG)
π CPGETC β it's giving "get me that character parameter" π
okay bestie, welcome to CPGETC, a lil routine from NCAR GRAPHICS (that's the 3NCARG manual, if you're keeping track π). She's a retrieval girlie: you hand her a parameter name, she hands you back the CHARACTER value currently chillin' in that parameter. no cap.
β¨ NAME β¨
CPGETC β retrieves the current value of an internal parameter of type CHARACTER. that's it, that's the whole job, and she does it flawlessly π
β¨ SYNOPSIS β¨
CALL CPGETC (PNAM, CVAL)
β¨ C-BINDING SYNOPSIS β¨
#include <ncarg/ncargC.h>
void c_cpgetc (char *pnam, char *cval, int len)
β¨ DESCRIPTION β¨
PNAMβ (CHARACTER, input) the name of the parameter whose character value you wanna retrieve, bestie. only the first three characters ofPNAMget examined β the rest is just vibes and readability. so like, instead of typing just'LLT', go off and use'LLT - LINE LABEL TEXT'so future you (and your group chat) knows what's happening. π«ΆCVALβ (CHARACTER, output) the variable where the value of the parameter named byPNAMgets returned. she drops it right in there. β¨
β¨ C-BINDING DESCRIPTION β¨
the C-binding argument descriptions are literally the same as the FORTRAN ones, with one exception:
lenβ the size ofcvalas dimensioned in the calling program. π
β¨ USAGE β¨
this routine lets you retrieve the current value of Conpack parameters. for a complete list of the parameters available in this utility, go check the conpack_params man page β she's got the whole menu. π
β¨ EXAMPLES β¨
use the ncargex command to see the following relevant example: cpex07. go look, it eats. π₯
β¨ ACCESS β¨
to use CPGETC or c_cpgetc, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β preferably in that order. don't be chaotic about the order, babe. π
β¨ MESSAGES β¨
see the conpack man page for a description of all Conpack error messages and/or informational messages. if something's up, she'll tell you. π
β¨ SEE ALSO β¨
Online: conpack, conpack_params, cpback, cpchcf, cpchcl, cpchhl, cpchil, cpchll, cpcica, cpclam, cpcldm, cpcldr, cpcltr, cpcnrc, cpdrpl, cpezct, cpgeti, cpgetr, cplbam, cplbdr, cpmpxy, cpmviw, cpmvrw, cppkcl, cppklb, cprect, cprset, cpscae, cpsetc, cpseti, cpsetr, cpsps1, cpsps2, ncarg_cbind
Hardcopy: NCAR Graphics Contouring and Mapping Tutorial
like, that's a whole friend group. the cp* girlies stay together, iykyk. π
β¨ COPYRIGHT β¨
Copyright (C) 1987-2009 University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.
bestie pls read the License Agreement, it's giving "legally binding" and we respect that π
okay that's the whole page, no notes. this manual page came from the UNIX crew back in March 1993 and it's still serving CPGETC(3NCARG) energy to this day. periodt. ππ¦π
π¦ where this page comes from
- debian bookworm: libncarg-dev 6.6.2.dfsg.1-1
- debian trixie: libncarg-dev 6.6.2.dfsg.1-10+b2
- ubuntu jammy: libncarg-dev 6.6.2-10build2
- ubuntu questing: libncarg-dev 6.6.2.dfsg.1-10build2
- ubuntu resolute: libncarg-dev 6.6.2.dfsg.1-12
- ubuntu stonking: libncarg-dev 6.6.2.dfsg.1-12build2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms