STGETC(3NCARG)
π STGETC π
okay bestie, welcome to STGETC, a lil function from NCAR GRAPHICS (that's the manual this page lives in, mwah) and it's here to do one (1) extremely specific thing: grab the current value of a Streamlines parameter that happens to be of type CHARACTER. that's it. that's the gig. she's focused, she's iconic, she serves. β¨
πΈ NAME πΈ
STGETC β gets the current value of a Streamlines parameter of type CHARACTER. π
β¨ SYNOPSIS β¨
CALL STGETC (CNM,CVL)
π¦ C-BINDING SYNOPSIS π¦
#include <ncarg/ncargC.h>
void c_stgetc(char *cnm, char *cvl, int len)
π DESCRIPTION π
CNMβ (CHARACTER, input) bestie this is the name of the parameter whose character value you wanna retrieve. and listen, only the first three characters ofCNMget examined. like, that's all she reads. and those three characters have to be entirely upper or entirely lower case β mixed case is not recognized, periodt. π pro tip from the manpage itself: it is recommended that the rest of the character string be used to improve the readability of the code. for example, instead of justZFT, useZFT - Zero Field Text String. do it for your future self, she'll thank you. π«ΆCVLβ (CHARACTER, output) the variable where the value of the parameter you named inCNMgets returned. it's giving "drop the answer here please." π
π C-BINDING DESCRIPTION π
the C-binding argument descriptions are the same as the FORTRAN argument descriptions, with exactly one glow-up exception:
lenβ the size ofcvlas dimensioned in the calling program.
π USAGE π
this routine lets you retrieve the current value of Streamlines parameters of type CHARACTER. and if you want the complete list of parameters available in this utility, go look at the streamlines_params man page. she has the whole menu, no cap. π₯
β ACCESS β
to use STGETC or c_stgetc, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β preferably in that order. in that order fr fr, don't fight the order. π§
π MESSAGES π
see the streamlines man page for a description of all Streamlines error messages and/or informational messages. if something's acting up, that's where the drama lives. π
π SEE ALSO π
Online: stgeti, stgetr, stinit, stream, streamlines, streamlines_params, strset, stsetc, stseti, stsetr, stuixy, stumsl, stumta, stumxy, ncarg_cbind.
Hardcopy: NCAR Graphics Fundamentals, UNIX Version
π COPYRIGHT π
Copyright (C) 1987-2009 University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.
and that's the whole page bestie!! π this lil legend is a UNIX manual page, stamped April 1993, and yes it's the STGETC(3NCARG) one β go get those character values, you absolute main character. slay, stay cased correctly (upper OR lower, never mixed!!), and hydrate. π
β¨πΈ
π¦ 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