:orphan:
# PetscCILinenumber
returns a line number except if `PetscCIEnablePortableErrorOutput` is set when it returns 0 
## Synopsis
```
#include "petscsys.h"   
int PetscCILinenumber(int linenumber)
```
Not Collective; No Fortran Support


## Input Parameter

- ***linenumber -*** the initial line number





## Note
See `PetscCIFilename()` for details on usage


## See Also
 `PetscCIFilename()`

## Level
developer

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/utils/str.c.html#PetscCILinenumber">src/sys/utils/str.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/utils/str.c)


[Index of all Sys routines](index.md)  
[Table of Contents for all manual pages](/manualpages/index.md)  
[Index of all manual pages](/manualpages/singleindex.md)  
