c_nngeti(3NCARG)

πŸ“¦ version 6.6.2, in epel 9, fedora 43, fedora 44

πŸ’– c_nngeti β€” bestie, let's go get that int πŸ’–

okay so real talk, this is a page from the NCAR GRAPHICS manual and it's all about c_nngeti, which is a little C routine that retrieves the value of an internal parameter of type int. that's literally it. it's the "read the value" girlie. she does not set anything, she does not judge, she just tells you what the number currently is. πŸ’…


✨ NAME ✨

c_nngeti β€” retrieves the value of an internal parameter of type int. no cap, that's the whole job description and she's thriving. πŸŽ€


🧚 FUNCTION PROTOTYPE 🧚

void c_nngeti(char *, int *);

there it is. look at her. she takes two pointers and returns nothing, because she's a void queen and she's got nothing to prove. πŸ‘‘


🌸 SYNOPSIS 🌸

c_nngeti (pnam,ival)

πŸ’œ DESCRIPTION πŸ’œ

  • pnam β€” a string that specifies the name of the parameter to get. and listen, this part matters: the name must appear as the first three characters of the string. the first three, bestie. not the last three, not the middle three. the first three. πŸ‘€
  • ival β€” when this comes back to you, *ival will be the value currently assigned to the control parameter whose name is pointed to by pnam. so you hand her a pointer and she fills it in. iconic behaviour honestly. 🫢

πŸ”₯ USAGE πŸ”₯

this routine lets you retrieve the current value of Natgrid parameters. that's the vibe. you want the tea on what a parameter is set to right now? she's got you.

for a complete list of parameters available in this utility, go look at the natgrid_params man page. that's where the full menu lives. πŸ“


🌈 ACCESS 🌈

to use c_nngeti, load the NCAR Graphics library ngmath. that's the link-up you need. no library, no function, periodt. ✨


πŸ¦‹ SEE ALSO πŸ¦‹

  • natgrid
  • natgrid_params
  • c_natgrids
  • c_nnseti

complete documentation for Natgrid is available at this URL:

http://ngwww.ucar.edu/ngdoc/ng/ngmath/natgrid/nnhome.html

like, go read it. iykyk. πŸ“š


Copyright (C) 2000 University Corporation for Atmospheric Research

the use of this Software is governed by a License Agreement. so like, respect the rules, bestie, it's giving legally binding. πŸ’€


lowkey the most important thing: pnam checks the first three characters only. get that wrong and you're getting somebody else's parameter. be careful out there. 😭

okay that's the whole page!! πŸ’– this was c_nngeti from the NCAR GRAPHICS manual (that's the 3NCARG corner of the world, UNIX-flavoured), dated March 1997-1998. mwah, love that for us, go forth and retrieve your ints. πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from